mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Replaced _stricmp in previous commit with strcmp.
Minor edits to some code.
This commit is contained in:
@@ -653,10 +653,10 @@ int ret1 - pass -1 to cancel the execution of the handler (only for HOOK_STD
|
||||
|
||||
HOOK_TARGETOBJECT (hs_targetobject.int)
|
||||
|
||||
Runs when the targeting cursor moves over an object, or when the player tries to attack the target object.
|
||||
Runs when the targeting cursor hovers over an object, or when the player tries to attack the target object.
|
||||
You can override the target object or prevent the player from attacking the chosen target.
|
||||
|
||||
int arg1 - event type: 0 - when the cursor moves over the object, 1 - when trying to attack the target object
|
||||
int arg1 - event type: 0 - when the cursor hovers over the object, 1 - when trying to attack the target object
|
||||
int arg2 - 1 when the target object is valid to attack, 0 otherwise
|
||||
Obj arg3 - the target object
|
||||
|
||||
|
||||
Reference in New Issue
Block a user