Cockheaven 21 Posted January 18, 2019 Hi guys, Ive been trying to get a few bar gates to open automatically when a vehicle enters a trigger area. I am trying to get the trigger to fire when ANY vehicle (land vehicle) is inside the area. I know I can do this by naming each vehicle but I would rather have a general solution that works for any vehicle that is occupied by a side AI and or Players alike. I have tried typeof and Iskindof but I think my syntax is wrong in each case. Thanks! Share this post Link to post Share on other sites
davidoss 552 Posted January 18, 2019 Activation: none Activation type: Present ({_x inArea thisTrigger} count (vehicles select {_x isKindOf "LandVehicle"})) > 0 or Activation: Anyone Activation type: Present this && {({_x isKindOf "LandVehicle"} count thisList) > 0} 1 Share this post Link to post Share on other sites