Jump to content
Sign in to follow this  
zofo

How to test if Building or Infra is destroyed ?

Recommended Posts

In my mission, I destroy Telecom 1 in Dolores.

It is one of the objective.

How can I retrieve this object's dammage with GetDammage ?

With nearestObjects you have to know the object type !

Where can I find Arma object type list ? (armaleague is down).

Thank you.

Share this post


Link to post
Share on other sites

1. make a trigger around the object, name it tele1 set it to "once" and "present"

2. put this in the condition:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

damage ((position tele1) nearestObject 450891) > 0.8

3. put in the on act (if you want): player addscore <score> ; "1" objstatus "done"

to get that number 450891 you turn on SHOW IDs and zoom in until you see the number for all objects and put that in.

Share this post


Link to post
Share on other sites

If you are trying to get the dammage from the tower to see it its dead then just group a trigger to it and set it to static object not present.

Share this post


Link to post
Share on other sites

Great...

Thank you so much.

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  

×