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
) »
remove EH
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: remove EH (Read 731 times)
0 Members and 1 Guest are viewing this topic.
Blanco
Former Staff
remove EH
«
on:
11 Jul 2003, 18:00:04 »
Thx to Igor Drukov the eventhandlers are very clear now!
look at
http://www.ofpec.com/editors/list.php?show=pending
But to remove an EH...
Joe removeeventhandler ["fired",0]
What the 0?
An ID?
Logged
Search
or
search
or
search
before you ask.
Tomb
Contributing Member
in2 Metal? Go 2 my sig
Re:remove EH
«
Reply #1 on:
11 Jul 2003, 19:40:42 »
Format of EH is [type,index].
As per comRef, Index is returned by addEventHandler. So, when any handler is removed,
all handler indices higher that the deleted one should be decremented.
what is yer probby?
Logged
Rubble_Maker
Guest
Re:remove EH
«
Reply #2 on:
11 Jul 2003, 19:41:20 »
Its the index returned by the AddEventhandler function. This is all in the official command reference!
Logged
Blanco
Former Staff
Re:remove EH
«
Reply #3 on:
11 Jul 2003, 21:01:30 »
O... it's that simple?
Thx;
Logged
Search
or
search
or
search
before you ask.
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
) »
remove EH
Top of page