mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
Exposed Actor.ACS_ScriptCall() function
This method can be used with arbitrary actor object like thing.ACS_ScriptCall("script") CallACS() and ACS_NamedExecuteWithResult() intrinsics work only within self actor context
This commit is contained in:
parent
12eb760ff4
commit
1679065a5d
1 changed files with 1 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ class Actor : Thinker native
|
|||
{
|
||||
return ACS_LockedExecuteDoor(-int(script), mapnum, arg1, arg2, lock);
|
||||
}
|
||||
int ACS_NamedExecuteWithResult(name script, int arg1=0, int arg2=0, int arg3=0, int arg4=0)
|
||||
int ACS_ScriptCall(name script, int arg1=0, int arg2=0, int arg3=0, int arg4=0)
|
||||
{
|
||||
return ACS_ExecuteWithResult(-int(script), arg1, arg2, arg3, arg4);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue