mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Add set_combat_free_move metarule and 2 arguments to STDPROCEDURE to make it more useful
This commit is contained in:
@@ -498,9 +498,12 @@
|
||||
NOTE: this hook will not be executed for `start`, `critter_p_proc`, `timed_event_p_proc`, and `map_update_p_proc` procedures.
|
||||
|
||||
```
|
||||
int arg0 - the number of the standard script handler (see define.h)
|
||||
int arg0 - the number of the standard script handler (see *_proc in define.h)
|
||||
Obj arg1 - the object that owns this handler (self_obj)
|
||||
Obj arg2 - the object that called this handler (source_obj, can be 0)
|
||||
int arg3 - always 0 (1 for _END version)
|
||||
int arg4 - the target object of this call (target_obj)
|
||||
int arg5 - the parameter of this call (fixed_param), useful for combat_proc
|
||||
|
||||
int ret0 - pass -1 to cancel the execution of the handler
|
||||
```
|
||||
@@ -512,10 +515,12 @@
|
||||
NOTE: this hook will not be executed for `start`, `critter_p_proc`, `timed_event_p_proc`, and `map_update_p_proc` procedures.
|
||||
|
||||
```
|
||||
int arg0 - the number of the standard script handler (see define.h)
|
||||
int arg0 - the number of the standard script handler (see *_proc in define.h)
|
||||
Obj arg1 - the object that owns this handler (self_obj)
|
||||
Obj arg2 - the object that called this handler (source_obj, can be 0)
|
||||
int arg3 - 1 after procedure execution
|
||||
int arg3 - always 1 (procedure end)
|
||||
int arg4 - the target object of this call (target_obj)
|
||||
int arg5 - the parameter of this call (fixed_param), useful for combat_proc
|
||||
```
|
||||
|
||||
- name: CarTravel
|
||||
|
||||
Reference in New Issue
Block a user