From 1679065a5d975f314b96fcde6d2b50274a974cef Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 24 Feb 2018 16:23:55 +0200 Subject: [PATCH] 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 --- wadsrc/static/zscript/actor.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actor.txt b/wadsrc/static/zscript/actor.txt index dbea3fd47..7c9140788 100644 --- a/wadsrc/static/zscript/actor.txt +++ b/wadsrc/static/zscript/actor.txt @@ -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); }