{"name":"BIS_fnc_EXP_camp_initCharacter","title":"BIS fnc EXP camp initCharacter","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_EXP_camp_initCharacter","revid":349246,"updated":"2023-11-08T14:51:00Z","groups":["Campaign"],"status":"ok","games":{"arma3":"1.62"},"since":"arma3 1.62","arma3_since":"1.62","locality":{"effect":"local"},"description":"Assigns correct appearance and loadout of story characters based upon their vehicle classnames.","syntaxes":[{"syntax":"[unit, mode] call BIS_fnc_EXP_camp_initCharacter","params":[{"name":"unit","type":"Object","description":"the character to be initialized","type_expr":"Object"},{"name":"mode","type":"String","optional":true,"default":"\"DAY\"","description":"can be either \"DAY\" (unsilenced, no NVGs, default) or \"NIGHT\" (silenced, NVGs)","type_expr":"String","text":"mode: String - (Optional, default \"DAY\") can be either \"DAY\" (unsilenced, no NVGs, default) or \"NIGHT\" (silenced, NVGs)"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"returns true if successful, false if not"}}],"examples":[{"code":["[BIS_unit,\"NIGHT\"] call BIS_fnc_EXP_camp_initCharacter;"]}],"multiplayer":"Must be executed on all machines.","see_also":["BIS_fnc_EXP_camp_initClasses"]}