Set Flag/Object Texture


You don’t need to use that method anymore, since the objects are in game already.

To create a Takistani flag 10m in front of the player with the Functions module on map:

Code:
myFlagPos = [player, 10, getdir player] call BIS_fnc_relPos; myFlag = "FlagCarrierTakistan_EP1" createVehicle myFlagPos;

If you really really wanted to use the old method, pre-place a flagpole and put this in it’s init:

Code:
this setflagtexture "ca\ca_e\Data\flag_tka_co.paa";

Another neat thing you can do with this is say place a crewed Takistani Motorocyle (has to be manned for this example) and place a blank flagpole in the middle of nowhere and put this in the cycle’s init:

Code:
carFlag setFlagTexture "ca\ca_e\Data\flag_tka_co.paa"; carFlag setFlagOwner driver this;

Doesn’t work with all vehicles, and sadly doesn’t work with the SUV (!!) but does for things like cycles and HMMWV and UAZ.

Killswitch, “ca\Data\…” doesn’t work for OA only clients, you’ll get a path not found error. Might work for the abomination that is CO though. But for OA you need “ca\ca_e\Data\…”.

For signs, place a sign object and put this in it’s init:

Code:
this setObjectTexture [0,"ca\ca_e\data\flag_tka_co.paa"];

List of flags below the jump:

"\ca\ca_e\data\flag_bis_co.paa" 
 "\ca\ca_e\data\flag_blufor_co.paa" 
 "\ca\ca_e\data\flag_cdf_co.paa" 
 "\ca\ca_e\data\flag_cr_co.paa" 
 "\ca\ca_e\data\flag_cz_co.paa" 
 "\ca\ca_e\data\flag_ger_co.paa" 
 "\ca\ca_e\data\flag_indfor_co.paa" 
 "\ca\ca_e\data\flag_knight_co.paa" 
 "\ca\ca_e\data\flag_nato_co.paa" 
 "\ca\ca_e\data\flag_opfor_co.paa" 
 "\ca\ca_e\data\flag_pow_co.paa" 
 "\ca\ca_e\data\flag_rcrescent_co.paa" 
 "\ca\ca_e\data\flag_rcross_co.paa" 
 "\ca\ca_e\data\flag_rcrystal_co.paa" 
 "\ca\ca_e\data\flag_tka_co.paa" 
 "\ca\ca_e\data\flag_tkg_co.paa" 
 "\ca\ca_e\data\flag_tkm_co.paa" 
 "\ca\ca_e\data\flag_uno_co.paa" 
 "\ca\ca_e\data\flag_usarmy_co.paa" 
 "\ca\ca_e\data\flag_us_co.paa" 
 "\ca\ca_e\data\flag_white_co.paa"

Comments are closed.