Forum Jump :

Author Message


Posts: 1
Rank:


Level: Member

Country: br
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2013-04-08 20:08        
     
Hey guys.

I've a script that i need to trig.
But just one specific unit should be able to see and select that action.

Some of you guys can give me a light on how to do it?


Thanks.


Author Message


Posts: 1474
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2013-04-08 22:29        
     
Place in an init line

this addAction ["actions","script.sqf",0,0,true,false,"","_this == unitname"]

unitname would be the unit who will see the action.






Tags: Addaction, Unit