flag: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Returns the flag the unit is carrying. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''flag''' unit |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
| [[Object]] - | |||
Returns the flag. If the unit carries no flag, [[objNull]] is returned. |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>_flag = flag soldier</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
[[ | | [[flagOwner]] |= See also | ||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|FLAG]] | |||
[[Category:Scripting Commands OFP 1.96|FLAG]] | |||
[[Category:Scripting Commands OFP 1.46|FLAG]] | |||
[[Category:Scripting Commands ArmA|FLAG]] |
Revision as of 00:12, 2 August 2006
Description
- Description:
- Returns the flag the unit is carrying.
- Groups:
- Uncategorised
Syntax
- Syntax:
- flag unit
- Parameters:
- unit: 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