setFlagSide: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (example) |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 26: | Line 26: | ||
|x2= Capturable OPFOR flag:<code>[[local]] _flag = "FlagPole_F" [[createVehicle]] [[position]] [[player]]; | |x2= Capturable OPFOR flag:<code>[[local]] _flag = "FlagPole_F" [[createVehicle]] [[position]] [[player]]; | ||
_flag [[setFlagTexture]] "\A3\Data_F\Flags\Flag_CSAT_CO.paa"; | _flag [[setFlagTexture]] "\A3\Data_F\Flags\Flag_CSAT_CO.paa"; | ||
_flag [[setFlagSide]] [[east]; |= Example 2 | _flag [[setFlagSide]] [[east]];</code> |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 23:35, 25 September 2015
Description
- Description:
- Sets flag Side. A flag may be taken by any unit that is enemy to the side that owns the flag. Just like with setFlagTexture, if the command executed where unit is local effect of the command will be global and JIP compatible.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_flag1 setFlagSide east;
- Example 2:
- Capturable OPFOR flag:
local _flag = "FlagPole_F" createVehicle position player; _flag setFlagTexture "\A3\Data_F\Flags\Flag_CSAT_CO.paa"; _flag setFlagSide east;
Additional Information
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters