Flags
11 scripting commands. Also as Markdown for agents.
- flagReturns the original flag pole of the flag the unit is carrying.
- flagAnimationPhaseReturns flag position on the flag pole.
- flagOwnerReturns the global owner of a flag. A getter for setFlagOwner. Note that owner of a flag is Object rather than Number, as how it is usually with…
- flagSideReturns Side of the local instance of the flag. A getter for setFlagSide.
- flagTextureReturns texture of the local instance of the flag. A getter for setFlagTexture. It will not return flag textures applied using forceFlagTexture, use…
- forceFlagTextureForces a flag texture onto a flag carrier (unit, vehicle or flag pole). No flag holder is required. If `""` is used as texture, the texture is…
- getForcedFlagTextureA getter for forceFlagTexture. Forced texture is different from your normal flag texture, which can be retrieved with flagTexture
- setFlagAnimationPhaseSets flag position on the flag pole. To animate flag use BIS_fnc_animateFlag.
- setFlagOwnerSets flag owner. When owner is set to objNull or any object other than a unit of class man or logic, flag is returned to the flagpole. A flag owned…
- setFlagSideSets flag Side. A flag may be taken by any unit that is enemy to the side that owns the flag.
- setFlagTextureSets flag texture.