BIS_fnc_EXP_camp_initCharacter

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Assigns correct appearance and loadout of story characters based upon their vehicle classnames.
Execution:
call
Multiplayer:
Must be executed on all machines.
Groups:
Campaign

Syntax

Syntax:
[unit, mode] call BIS_fnc_EXP_camp_initCharacter
Parameters:
unit: Object - the character to be initialized
mode: String - (Optional, default "DAY") can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs)
Return Value:
Boolean - returns true if successful, false if not

Examples

Example 1:
[BIS_unit,"NIGHT"] call BIS_fnc_EXP_camp_initCharacter;

Additional Information

See also:
BIS_fnc_EXP_camp_initClasses

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note