Jump to content
the1krisrob

Now how do I check if a building has been destroyed?

Recommended Posts

So now objectID's have been removed and you cannot simply group a "!alive trigger" to a building, could someone please explain to me like I'm 5, the easiest way to check if a building/tower etc has been destroyed?

 

I assume I'm supposed to do some black magic with the nearestobject command, but I can't wrap my head around how I'm supposed to use it.

It would have been super nice if they had given us a nice easy way to do this considering destruction of infrastructure is a fairly common type of mission. 

 

 

Share this post


Link to post
Share on other sites
!alive ([0,0,0] nearestObject _yourObjectID)

Should work

 

Sorry I'm not quite following, where should I put that code, because it won't work in the trigger condition.

Share this post


Link to post
Share on other sites

works fine for me:

 

example :

 

Condition: !alive ([0,0,0] nearestObject 66576)

On Act.: hint "lol"

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

×