Home   Help Search Login Register  

Author Topic: not alive ID ?  (Read 1247 times)

0 Members and 1 Guest are viewing this topic.

Offline PPoS

  • Members
  • *
not alive ID ?
« on: 08 Apr 2009, 17:26:34 »
Is it possible to use the ID of a placed object on a map in the command "not alive" ?
For example; not alive (ID number of object).

Or is there any other way of doing this ?

Thanks

Offline zwobot

  • Members
  • *
Re: not alive ID ?
« Reply #1 on: 08 Apr 2009, 19:53:12 »
Yes it works like this:
Code: [Select]
not alive object 1234where 1234 is the ID of the object as seen in the editor. The next question would be if every island object can be destroyed by players... What do you need this for?
"Executing tactics in real combat is the hardest thing one can ever do...well I've never given birth but..well whatever."

Offline PPoS

  • Members
  • *
Re: not alive ID ?
« Reply #2 on: 08 Apr 2009, 20:24:56 »
Thx ! Hasn't got any time to test it yet.

I'm using it for a mission with Lost Brothers mod; you are part of an Israeli engineer team that is tasked with blowing up a building on the Sinai map.

Offline zwobot

  • Members
  • *
Re: not alive ID ?
« Reply #3 on: 09 Apr 2009, 08:21:29 »
Ah okay. Then you should also test if the building is destructable. It could be that it isn't. Then your solution could be to place another object just below this building with this setPos [getPos object 123 select 0, getPos object 123 select 1, -1] and in your trigger or whatever check if this object is destroyed instead.
"Executing tactics in real combat is the hardest thing one can ever do...well I've never given birth but..well whatever."

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Re: not alive ID ?
« Reply #4 on: 09 Apr 2009, 08:42:05 »
Hi, Yeah I had the same question but with Armed Assault Editing.

If you ever have that question with Armed Assault Check the thread out below.

click here

2nd post is the code.  Future reference sake.   :)
Who's hyped for Arma4, long live Arma!