setFlagOwner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETFLAGOWNER]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETFLAGOWNER]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETFLAGOWNER]]
[[Category:Scripting Commands ArmA|SETFLAGOWNER]]


| ofp |= Game name


<h2 style="color:#000066">'''''flag'' setFlagOwner ''owner'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Set flag owner. When owner is set to [[objNull]], flag is returned to the flagpole. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| flag '''setFlagOwner''' owner |= Syntax


'''flag:''' [[Object]]
|p1= flag: [[Object]] |= Parameter 1


'''owner:''' [[Object]]
|p2= owner: [[Object]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>flag1 setFlagOwner soldier1</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


Set '''flag owner'''.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


When owner is set to [[objNull]], flag is returned to the flagpole.
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
[[Category:Scripting Commands|SETFLAGOWNER]]
 
[[Category:Scripting Commands OFP 1.96|SETFLAGOWNER]]
flag1 '''setFlagOwner''' soldier1
[[Category:Scripting Commands OFP 1.46|SETFLAGOWNER]]
[[Category:Scripting Commands ArmA|SETFLAGOWNER]]

Revision as of 00:11, 2 August 2006

Hover & click on the images for description

Description

Description:
Set flag owner. When owner is set to objNull, flag is returned to the flagpole.
Groups:
Uncategorised

Syntax

Syntax:
flag setFlagOwner owner
Parameters:
flag: Object
owner: Object
Return Value:
Nothing

Examples

Example 1:
flag1 setFlagOwner soldier1

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

Notes

Bottom Section