BIS fnc EXP camp playerChecklist: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]+)<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )C([a-z])" to "$1c$3") |
||
Line 14: | Line 14: | ||
|p1= conditionProceed: [[Code]] - (Optional, default {true}) General condition that must be met to proceed. Will not list player names. | |p1= conditionProceed: [[Code]] - (Optional, default {true}) General condition that must be met to proceed. Will not list player names. | ||
|p2= conditionPlayer: [[Code]] - (Optional, default {true}) | |p2= conditionPlayer: [[Code]] - (Optional, default {true}) condition that must be met by each player. Use '''_player''' to reference the player unit. | ||
|p3= code: [[Code]] - (Optional, default {}) | |p3= code: [[Code]] - (Optional, default {}) code to be executed when all players meet the defined condition. | ||
|r1= [[Boolean]] - [[true]] if successful, [[false]] if not | |r1= [[Boolean]] - [[true]] if successful, [[false]] if not |
Revision as of 12:23, 8 November 2023
Description
- Description:
- Display a checklist of players that don't meet the given condition, thus preventing mission progress.
- Execution:
- call
- Multiplayer:
- Should only be excuted on the server.
- Groups:
- Campaign
Syntax
- Syntax:
- [conditionProceed, conditionPlayer, code] call BIS_fnc_EXP_camp_playerChecklist
- Parameters:
- conditionProceed: Code - (Optional, default {true}) General condition that must be met to proceed. Will not list player names.
- conditionPlayer: Code - (Optional, default {true}) condition that must be met by each player. Use _player to reference the player unit.
- code: Code - (Optional, default {}) code to be executed when all players meet the defined condition.
- Return Value:
- Boolean - true if successful, false if not
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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