Difference between revisions of "Action specials"

From ECWolf Wiki
(Created page with "Action specials are function which are activated either by UWMF#Triggers or DECORATE actions. == List of Action specials == * 1:'''Door_Open'''(speed, lock, type) :Ac...")
 
Line 13: Line 13:
 
:Exits and travels to the specified map by levelnum. Pos is reserved and should be 0. Flags are 1 = Keep direction, 2 = Keep position.
 
:Exits and travels to the specified map by levelnum. Pos is reserved and should be 0. Flags are 1 = Keep direction, 2 = Keep position.
 
* 6:'''Exit_VictorySpin'''()
 
* 6:'''Exit_VictorySpin'''()
:Standard exit but does a BJ jump sequence. Normally activated by a pickup.
+
:Standard exit but does a BJ jump sequence. Normally activated by a pickup. This sequence is partially handled by the {{Class|BJRun}} actor which is spawned.

Revision as of 14:17, 12 February 2013

Action specials are function which are activated either by UWMF#Triggers or DECORATE actions.

List of Action specials

  • 1:Door_Open(speed, lock, type)
Activates the tile as a sliding door. Typical speed is 16. Lock specifies what keys are needed according to LOCKDEFS. Type is reserved and should be 0 for a standard wolf sliding door.
  • 2:Pushwall_Move(speed, direction, distance)
Moves the pushwall in the trigger's tile. A typical speed is 8. Direction specifies the relative direction to move the pushwall (0 = right, 1 = back, 2 = left, 3 = towards). Distance is in tiles.
  • 3:Exit_Normal(pos)
Exits the level using the standard exit. Pos is reserved and should be 0.
  • 4:Exit_Secret(pos)
Exits the level using the secret exit. Pos is reserved and should be 0.
  • 5:Teleport_NewMap(map, pos, flags)
Exits and travels to the specified map by levelnum. Pos is reserved and should be 0. Flags are 1 = Keep direction, 2 = Keep position.
  • 6:Exit_VictorySpin()
Standard exit but does a BJ jump sequence. Normally activated by a pickup. This sequence is partially handled by the BJRun actor which is spawned.