Forum Jump :

Author Message


Posts: 156
Rank:


Level: Member

Country: us
Location: NY
Occupation:
Age:
In-game name: A Hamburgler

 
#1 Posted at 2013-02-17 19:31        
     
Ok so i am trying to get a trigger to activate when p1 or p2 or p3 or p4 enters the trigger area. I am using this.
p1 in thislist || p2 in thislist || p3 in thislist || p4 in thislist;
But if i am in a vehicle it will not activate so how do i make it activate if i am on foot or in a vehicle??


Author Message


Posts: 1478
Rank:


Level: Member

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

 
#2 Posted at 2013-02-17 22:20        
     
Use vehicle
vehicle p1 returns p1 if on foot
vehicle p1 returns vehiclename if p1 is inside
so if p1 or the vehicle p1 is in are tested against thislist


vehicle p1 in thislist || vehicle p2 in thislist || vehicle p3 in thislist || vehicle p4 in thislist;


Advertisement


Author Message


Posts: 156
Rank:


Level: Member

Country: us
Location: NY
Occupation:
Age:
In-game name: A Hamburgler

 
#3 Posted at 2013-02-18 05:16        
     
Thank you it worked