flag: Difference between revisions
Jump to navigation
Jump to search
m (changed global to local variable to make clear the variable) |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Object]] <nowiki>=</nowiki> '''flag''' | | [[Object]] <nowiki>=</nowiki> '''flag''' unitName |= Syntax | ||
|p1= [[Object | |p1= unitName: [[Object]] |= Parameter 1 | ||
| [[Object]] - | | [[Object]] - |
Revision as of 23:09, 22 January 2009
Description
- Description:
- Returns the flag the unit is carrying.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Object = flag unitName
- Parameters:
- unitName: Object
- Return Value:
- Object - Returns the flag. If the unit carries no flag, objNull is returned.
Examples
- Example 1:
_flag = flag _soldier
Additional Information
- See also:
- flagOwner
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Multiplayer
- Command Group: Object Information