OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Blanco 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?
-
:) 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? ??? :)
-
Its the index returned by the AddEventhandler function. This is all in the official command reference!
-
O... it's that simple?
Thx;