by Marrub » Sat Feb 24, 2018 3:49 am
_mental_ wrote:Because they are not functions in usual meaning but sort of compiler intrinsics.
Played a bit with related code just after this was reported and gave up fixing it.
Yeah, they're built like expressions, same as functions like Random, which makes it really difficult to detangle. The
easiest solution I can think of is just adding a function where ACS_NamedExecuteWithResult would normally be, with a different name, like ACS_ScriptCall or something... which is, er, troubling, in a lot of ways. I can't really think of any way to do it besides that.
[quote="_mental_"]Because they are not functions in usual meaning but sort of compiler intrinsics.
Played a bit with related code just after this was reported and gave up fixing it.[/quote]
Yeah, they're built like expressions, same as functions like Random, which makes it really difficult to detangle. The [i]easiest[/i] solution I can think of is just adding a function where ACS_NamedExecuteWithResult would normally be, with a different name, like ACS_ScriptCall or something... which is, er, troubling, in a lot of ways. I can't really think of any way to do it besides that.