Script control linedef types: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(small gone)
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

Revision as of 17:10, 7 August 2013

These linedefs are used to start ACS scripts in Doom format maps, without having to use the ACS_Execute parameterized special by ExtraData. See the ACS documentation for information on Action Code Script.

  • 280:WR Start script with tag number
  • 273:WR Start script, 1-way trigger
  • 274:W1 Start script with tag number
  • 275:W1 Start script, 1-way trigger
  • 276:SR Start script with tag number
  • 277:S1 Start script with tag number
  • 278:GR Start script with tag number
  • 279:G1 Start script with tag number

These linedefs exist for all activation models. The two one-way script activators will only be activated when the player crosses them from the first side, as with other line types which function in that manner. Crossing from the second side will have no effect.

Parameterized specials

This part incorporates text from the open-content ZDoom Wiki

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