Forum Jump :

Author Message


Posts: 11
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Sgt. C. Nanatovich

 
#1 Posted at 2013-10-10 03:20        
     
I have a roleplay mission and I have a texture for a prisoner for when they are in jail. But I don't know how to make it so that when they are arrested where it changes there unit to the prisoner and sets the texture of the unit. I currently don't have it setup(because I don't know how) could anyone help? I have searched all over I can't find anything on this I am not sure if I am searching the wrong thin either. Sorry for bothering you.

Added 5 minutes later:

I would like to add I want them to turn back into the unit they were when they are out of prison

This post was edited by ChaseTheFun (2013-10-10 15:03, ago)


Author Message


Posts: 615
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 22
In-game name: BroBeans

 
#2 Posted at 2013-10-10 06:50        
     
retexture a uniform of some type or make your own uniform and just on a trigger when he is arrested or escapes have it so it removes his uniform and spawns the other one on


Advertisement


Author Message


Posts: 11
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Sgt. C. Nanatovich

 
#3 Posted at 2013-10-10 14:20        
     
How would I make it so the trigger changes his uniform?


Author Message


Posts: 615
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 22
In-game name: BroBeans

 
#4 Posted at 2013-10-11 04:23        
     
retexture a uniform or create one .. name it "U_Inmate"

have it so when he enters jail

removeuniform civ1; civ1 adduniform "U_Inmate";


Author Message


Posts: 11
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Sgt. C. Nanatovich

 
#5 Posted at 2013-10-11 16:05        
     
# Delta 1 Actual : retexture a uniform or create one .. name it "U_Inmate"

have it so when he enters jail

removeuniform civ1; civ1 adduniform "U_Inmate";
Will he turn back to what he was when he exits?
Added 8 minutes later:

And is there a way I can do this for multiple civs?

Added 3 hours later:

I can't believe I forgot to say that I want them to stay in the uniform if they escape so that way a cop can be like "Oh no that is an escapee let me go and arrest him!"*says in acting voice* (lol) Also it makes me put a ; where it doesn't show it on the line of code you posted

This post was edited by ChaseTheFun (2013-10-11 16:50, ago)


Author Message


Posts: 615
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 22
In-game name: BroBeans

 
#6 Posted at 2013-10-16 11:51        
     
enters jail
removeuniform player;
player adduniform "U_Inmate";

released from jail (not sure on the civ clothes)
removeuniform player;
player adduniform "U_Commoner_1";

escaped
no change

Not sure if player will work for dedicated but it should