Home   Help Search Login Register  

Author Topic: AddEventHandler  (Read 427 times)

0 Members and 1 Guest are viewing this topic.

TrackenHit

  • Guest
AddEventHandler
« on: 01 Aug 2003, 06:58:08 »
Is there another way to script this to be more 1.46 friendly.

_hostage addEventHandler ["killed", {_this exec "set_dead.sqs"}]

Unfortunalty addEventHandler doesn't seem to work in 1.46, so I assume there must be another way to do the samething. This would greatly be appreciated.

Rubble_Maker

  • Guest
Re:AddEventHandler
« Reply #1 on: 01 Aug 2003, 09:19:15 »
@getdammage _hostage>=1

....


will also execute once the guy is dead. Put this in your init.sqs or a seperate script.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:AddEventHandler
« Reply #2 on: 02 Aug 2003, 23:09:07 »
i sugest u use

@ not alive _hostage

cuz somtime (rarly) he dies nd doesnt reach 1 dammage ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta