Jump to content
Sign in to follow this  
Icaruk

How to check if any vehicle is present on a trigger.

Recommended Posts

I don't know how to check if any vehicle is present on a trigger, the trigger will fit just 1 vehicle.

Any ideas?

Share this post


Link to post
Share on other sites
Group the vehicle with the trigger

I can't group multiple vehicles. I have 8 vehicles, I need to check when 1 of them is on the trigger area.

Share this post


Link to post
Share on other sites

Maybe in condition field something like: (vehicle1 in thislist) or (vehicle2 in thislist) etc.. Should work.

Check also the activation field, present and side of the vehicles, if not, "thislist" will contain an array of other side units, and those vehicles won't be on it.

Edited by barbolani

Share this post


Link to post
Share on other sites
Maybe in condition field something like: (vehicle1 in thislist) or (vehicle2 in thislist) etc.. Should work.

Check also the activation field, present and side of the vehicles, if not, "thislist" will contain an array of other side units, and those vehicles won't be on it.

It works, thanks. Now how can I do the negative of this (on trigger) ?

(vehicle1 in thislist)

Edited by Icaruk

Share this post


Link to post
Share on other sites

so if you want to do a negative make the option at the top of the trigger from present to not present I think

or just put a ! before it

!(vehicle1 in thislist)

Share this post


Link to post
Share on other sites
so if you want to do a negative make the option at the top of the trigger from present to not present I think

or just put a ! before it

!(vehicle1 in thislist)

Thanks!

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  

×