Jump to content
BearRollWubba

Check if target is present

Recommended Posts

I’m making a mission where players need to destroy vehicles.  I want to make it where a 4th vehicle is not always present.  My goal is to check wether or not the 4th vehicle is present.  If this vehicle is present, then it along with the other 3 vehicles need to be destroyed, otherwise just the other 3 need to be destroyed.  How to I go about this.

Share this post


Link to post
Share on other sites

Give the 4th vehicle a name.

Set up a trigger so that only that specific vehicle will fire the trigger.

Use the hint command so that when the trigger fires a message appears on your screen saying that the 4th vehicle has arrived.

.

 

 

 

 

 

Share this post


Link to post
Share on other sites
1 hour ago, Joe98 said:

Give the 4th vehicle a name.

Set up a trigger so that only that specific vehicle will fire the trigger.

Use the hint command so that when the trigger fires a message appears on your screen saying that the 4th vehicle has arrived.

.

 

 

 

 

 

So I imagine I set the vehicle as the trigger owner in order to do this?

Share this post


Link to post
Share on other sites
2 hours ago, BearRollWubba said:

I’m making a mission where players need to destroy vehicles.  I want to make it where a 4th vehicle is not always present.  My goal is to check wether or not the 4th vehicle is present.  If this vehicle is present, then it along with the other 3 vehicles need to be destroyed, otherwise just the other 3 need to be destroyed.  How to I go about this.

present where/when?

spawned during game?  or percentage of presence in edited vehicle (so at start)?  or inside an area of a map ?

Do you already check something for 3 vehicles in particular?

Share this post


Link to post
Share on other sites
2 hours ago, Joe98 said:

Give the 4th vehicle a name.

Set up a trigger so that only that specific vehicle will fire the trigger.

Use the hint command so that when the trigger fires a message appears on your screen saying that the 4th vehicle has arrived.

.

 

 

 

 

 

Disregard my last quote, this worked, thank you!

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

×