Welcome, Guest Thursday 17th April 2014, 20:15:53
   Home   Help Search Login Register  


Author Topic: How to detect a bridge/building being blown up?  (Read 335 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline

« on: 28 Jul 2009, 10:42:52 »

I have searched but could not find an asnwer to this specific question. I want a mission to end when a bridge/building is destroyed. The challange is how do you detect that in a trig since it is building in the map?

Thanks for your help.
Offline Offline

"Behold a pale horse"

« Reply #1 on: 28 Jul 2009, 15:01:59 »

damage (position player nearestObject 274849) >= 1
Where the number sequence is the id number of the object in the editor. Just replace my "274849" sequence with your wanted id number and it should work. The nearestObject thing is a needed workaround in Armed Assault, not sure if they fixed this in ArmAII or not. In that case the old OFP solution should work as well, but I doubt it.
damage (Object 274849) >= 1


And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.
Pages: [1]   Go Up
  Send this topicPrint  
Jump to: