setFlagOwner: Difference between revisions

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





Revision as of 16:37, 4 May 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