BIS fnc EXP camp initCharacter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
m (Text replacement - "|gr1 =" to "|gr1=") |
||
Line 5: | Line 5: | ||
|version1= 1.62 | |version1= 1.62 | ||
|gr1 = Campaign | |gr1= Campaign | ||
|eff= local | |eff= local |
Revision as of 17:53, 1 February 2021
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