Jump to content
Sign in to follow this  
jandrews

Boat below water level 3m trigger question

Recommended Posts

I want a trigger to pop when two boats are below water line say 2 or 3m. I know I need to include a z value. Not sure where. Not much comes up with Google search

 

(getPosASL (vehicle && vehicle2) select 2) > -2;

 

So far not working. Any ideas.

Share this post


Link to post
Share on other sites

Try this

(getPosASLW vehicle1) select 2 < -2 && (getPosASLW vehicle2) select 2 < -2

This is assuming your boats are named vehicle1 and vehicle2.

Share this post


Link to post
Share on other sites
4 hours ago, Alleged Accomplice said:

When its water you need to use this https://community.bistudio.com/wiki/setPosASLW

 

so maybe (getPosASLW [(position vehicle && vehicle2) select 0, (position vehicle && vehicle2) select 1, -3];

 

2 hours ago, _foley said:

Try this


(getPosASLW vehicle1) select 2 < -2 && (getPosASLW vehicle2) select 2 < -2

This is assuming your boats are named vehicle1 and vehicle2.

Thanks. I'll give these a try. 

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  

×