setFlagOwner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|S]]
[[Category:Scripting Commands ArmA|S]]


back to [[Scripting_Reference#S|COMREF]]


<h2 style="color:#000066">'''''flag'' setFlagOwner ''owner'''''</h2>
<h2 style="color:#000066">'''''flag'' setFlagOwner ''owner'''''</h2>

Revision as of 10:36, 23 April 2006


flag setFlagOwner owner


Operand types:

flag: Object

owner: Object

Type of returned value:

Nothing

Description:

Set flag owner.

When owner is set to objNull, flag is returned to the flagpole.


Example:

flag1 setFlagOwner soldier1