Jump to content
Sign in to follow this  
xtesic

adduniform doesnt work right?

Recommended Posts

ive been struggling for e few houres now...

I want my BLUFOR players at start starting with a handgun, a clip and a civillian uniform.

everything works except that add uniform thing, they are always in there underwear....anyone know this problem?

After some webbing i found out its a bug, something to do with global or not...

here is what i wrote in init line:

removeUniform this;

removeHeadgear this;

removeGoggles this;

removeVest this;

removeBackpack this;

removeAllWeapons this;

removeAllAssignedItems this;

this addheadgear "H_Booniehat_dgtl";

this addUniform "U_C_Poor_shorts_2";

this addGoggles "G_Shades_Black";

this addweapon "hgun_ACPC2_snds_F";

this addmagazine "11Rnd_45ACP_Mag";

this additem "muzzle_snds_acp";

Edited by xtesic

Share this post


Link to post
Share on other sites

By default, each faction can only wear uniforms belonging to their side, so BLUFOR units are not "allowed" to wear civilian ones - that's why in this case addUniform won't work as you'd expect.

You'd be supposed to use forceAddUniform instead, but it seems there are some issues with it at the moment:

http://feedback.arma3.com/view.php?id=19239&nbn=1

Share this post


Link to post
Share on other sites

In what scenario would adding this restriction to the game and making content creators adapt help at all?

addUniform should force a uniform onto a unit by default, or else that command wouldn't have been called to begin with.

Share this post


Link to post
Share on other sites

This is a known bug especially in MP situations where players spawn with no uniform because the addUniform command is local and not global.

Share this post


Link to post
Share on other sites

ok thx :)

wont change uniform then, np

thx for quick reply !!!

tried it with civilians AND civillian clothing= that works, so you can only change within ure faction.

problem solved

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  

×