setFlagOwner
Jump to navigation
Jump to search
Description
- Description:
- Set flag owner. When owner is set to objNull or any object other than a unit of class man, flag is returned to the flagpole.
- Groups:
- Uncategorised
Syntax
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
- Bdfy
- Since flags can not be owned by vehicles, use "flag setFlagOwner driver tank1" or "flag1 setFlagOwner tank1D" to assign the flag to the driver. The second method will only work if tank1 is the name of a unit, not a variable refering to it.