mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Corrected code and renamed hook/functions from the previous commit
This commit is contained in:
@@ -648,3 +648,15 @@ Obj arg3 - the object that called this handler (source_obj, can be 0)
|
||||
int arg4 - 1 after procedure execution (for HOOK_STDPROCEDURE_END), 0 otherwise
|
||||
|
||||
int ret1 - pass -1 to cancel the execution of the handler (only for HOOK_STDPROCEDURE)
|
||||
|
||||
-------------------------------------------
|
||||
|
||||
HOOK_TARGETOBJECT (hs_targetobject.int)
|
||||
|
||||
Runs whenever the targeting cursor hovers over something.
|
||||
|
||||
int arg1 - event type: 0 - when hovering over the target, 1 - when clicking on the target
|
||||
int arg2 - 1 if the target is a valid object, 0 otherwise
|
||||
Obj arg3 - the target object
|
||||
|
||||
int ret1 - overrides the target object
|
||||
|
||||
Reference in New Issue
Block a user