OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Odyseus on 25 Jul 2012, 22:37:42

Title: Changing flag of unit soldier
Post by: Odyseus on 25 Jul 2012, 22:37:42
Hello guys. How do i go about changing the flag of an unit soldier uniforms? Is there a script we can use?
Title: Re: Changing flag of unit soldier
Post by: Wolfrug on 05 Aug 2012, 10:46:06
Unfortunately not (if you mean the flag on their uniforms). Although SOME units do allow you to change their textures, but sadly not all, and I do not have a list of those units you can do it with - you'd just have to experiment. Try this on your unit:

unitName setObjectTexture (http://community.bistudio.com/wiki/setObjectTexture) [0,'#(argb,8,8,3)color(0,1,0,1)'][/url]

If it turns GREEN, it means its textures can be changed. Otherwise, you're out of luck.

Wolfrug out.