Editing Script control linedef types
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
These linedefs are used to start ACS scripts in Doom format maps, without having to use the ACS_Execute [[Detailed parameterized linedef specification|parameterized special]] by [[ExtraData]]. See the [[ACS scripting|ACS documentation]] for information on Action Code Script. | These linedefs are used to start ACS scripts in Doom format maps, without having to use the ACS_Execute [[Detailed parameterized linedef specification|parameterized special]] by [[ExtraData]]. See the [[ACS scripting|ACS documentation]] for information on Action Code Script. | ||
Note: formerly these were used to execute Small scripts. Support for this language still exists in Eternity but has been deprecated and will not be maintained, due to Small's failure to be supported on 64-bit systems. | |||
*280:WR Start script with tag number | *280:WR Start script with tag number | ||
*273:WR Start script, 1-way trigger | *273:WR Start script, 1-way trigger | ||
Line 12: | Line 13: | ||
==Parameterized specials== | ==Parameterized specials== | ||
{{zdoomwiki}} | |||
Eternity supports the following ACS parameterized specials: | |||
*365:'''ACS_Execute'''(''scriptnum'', ''mapnum'', ''arg0'', ''arg1'', ''arg2'') | |||
:Executes the specified script. A map value of zero indicates that the script is on the current map. If the script is on a different map, then the execution of the script will be delayed until the player enters the map that contains it. Only one copy of a script can be running at a time when started with this special. | |||
:If the specified script was previously executed but then suspended, then execution will begin at the point immediately after where it was suspended instead of starting over again at the beginning. | |||
:The number of usable arguments is limited to 3. | |||
*366:'''ACS_Suspend'''(''scriptnum'', ''mapnum'') | |||
:Suspends execution of a script until an ACS_Execute special resumes it. | |||
*367:'''ACS_Terminate'''(''scriptnum'', ''mapnum'') | |||
:Terminates the script. | |||
Β | |||
''Back to [[Linedef types]]'' | |||
[[Category:Editing reference]] | [[Category:Editing reference]] |