bool ACS_NamedLockedExecute (string script, int map, int s_arg1, int s_arg2, int lock)
ACS_NamedLockedExecute (string script, int map, int s_arg1, int s_arg2, int lock)
However, it is not available as an action special: to call named scripts from a a line or thing special, you have to use the non-named variant (ACS_LockedExecute) in UDMF, with the arg0str custom argument set to the name of the script — this will override the first parameter.
- script: Name of the script to execute
- map: Map which contains the script
- s_arg1: First argument passed to the script
- s_arg2: Second argument passed to the script
- lock: Required key, if any (see key types)
Returns true if the script could be executed successfully, false otherwise. Deferred scripts are always considered successful.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|