BIS fnc EXP camp initCharacter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Comments" to "|Comments=") |
m (page filled) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | |game1= arma3 | ||
|1.62 | |version1= 1.62 | ||
<! | <!--|exec= server|=--> | ||
<! | <!--|arg= local--> | ||
| | |eff= local | ||
|descr= Assigns correct appearance and loadout of story characters based upon their vehicle classnames. | |||
|mp= Must be executed on all machines. | |||
|s1= [unit, mode] call [[BIS_fnc_EXP_camp_initCharacter]] | |||
| | |p1= unit: [[Object]] - The character to be initialized | ||
| | |p2= mode: [[Object]] - (Optional, default "DAY") Can be either "DAY" (unsilenced, no NVGs, default) or "NIGHT" (silenced, NVGs) | ||
| | |r1= [[Boolean]] - Returns [[true]] if successful, [[false]] if not | ||
|x1= <code></code> | |x1= <code>[BIS_unit,"NIGHT"] [[call]] [[BIS_fnc_EXP_camp_initCharacter]];</code> | ||
|exec= call | | |exec= call | ||
|seealso= [[BIS_fnc_EXP_camp_initClasses]] | |||
}} | }} | ||
Revision as of 22:19, 13 January 2020
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: Object - (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