Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
event handlers ...
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: event handlers ... (Read 821 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)
Logged
Chris Death
Former Staff
Finally Death's gonna get ya
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
Logged
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
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
event handlers ...
Top of page