Jump to content
Sign in to follow this  
malakdecaen

How to change unit uniform by addaction ?

Recommended Posts

Hello everyone ,

I have a little script for changing uniform but i need ameliorate it .

That is why i need you'r help , this is the script :

_obj = _this select 0;
_caller = _this select 1;
_id = _this select 2;

_class = typeof _obj;

_uniclass = getText (configFile >> "CfgVehicles" >> _class >> "uniformclass");
_uniclassp = uniform _caller;

RemoveUniform _obj;
RemoveUniform _caller;

_caller addUniform _uniclass;
_obj addUniform _uniclassp;

player removeAction s_player_ghillie;
s_player_ghillie = -1;

I have some clothes in my mission and i want if you find one you have a addaction and call this script but that doesn't work , and i want the script for all uniform , but i don't know how to do that .

i don't know how to configure the cfgvehicle

Thanks a lot for you'r help .

(sorry for my bad englis);)

Edited by kakarot
new things

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×