setFlagOwner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETFLAGOWNER]]
[[Category:Scripting Commands|SETFLAGOWNER]]
[[Category:Scripting Commands OFP 1.97|SETFLAGOWNER]]
[[Category:Scripting Commands OFP 1.96|SETFLAGOWNER]]
[[Category:Scripting Commands OFP 1.46|SETFLAGOWNER]]
[[Category:Scripting Commands OFP 1.46|SETFLAGOWNER]]
[[Category:Scripting Commands ArmA|SETFLAGOWNER]]
[[Category:Scripting Commands ArmA|SETFLAGOWNER]]

Revision as of 20:29, 1 June 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