BIS fnc EXP camp initCharacter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (wrong data type)
m (Text replacement - "\[\[Category\:Function Group\: Campaign(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 31: Line 31:
}}
}}


[[Category:Function Group: Campaign|{{uc:EXP_camp_initCharacter}}]]
 
[[Category:Functions|{{uc:EXP_camp_initCharacter}}]]
[[Category:Functions|{{uc:EXP_camp_initCharacter}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:EXP_camp_initCharacter}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:EXP_camp_initCharacter}}]]

Revision as of 12:53, 12 October 2020

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:
Uncategorised

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