Home   Help Search Login Register  

Author Topic: event handlers ...  (Read 816 times)

0 Members and 1 Guest are viewing this topic.

duckwilliamson

  • Guest
event handlers ...
« on: 06 Oct 2003, 06:37:07 »
Do eventhandlers stop running once a unit is dead? or are they still running in the background unaccessable?

I am wondering if it is necessary to use removeeventhandler when the unit dies or will this automatically be done ... (i need as many reductions on lag as possible)

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:event handlers ...
« Reply #1 on: 06 Oct 2003, 15:52:54 »
Should be easy to find out;

add an eventhandler "hit" to an AI unit, activating a hint
message: "huh - somebody has hit me"

setdammage 1 this guy

go there and shoot him

See wether the message shows up or not  ;)

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

duckwilliamson

  • Guest
Re:event handlers ...
« Reply #2 on: 07 Oct 2003, 05:03:17 »
ya well thats what i thought and i did try it ... the results were that the event stopped working once the unit was dead ... but what i was wondering was if the event was still technically running even if it didn't show that it was because the unit's variable dissolved since it was dead ... owell if anyone gets any proof that the events don't stop running plz email me at duckwilliamson@yahoo.com
-thx Chris for your input