User Tools

Site Tools


End level (XG class)

Class = end_level

Exits the current level.


Prm Name Type Meaning
Ip0 Secret Exit Integer If non-zero, the next level will be the secret level (secret_exit).
Ip1 Data Ref,Data Num lpref,lprefd Reference to the line to acquire the value for “Goto Level” parameter from.
Ip3 Goto Map Integer/ldref If non-zero, the next level will be this level id (e.g., 1 = level 1) unless Secret Exit is non-zero.


Line Type {
  ID = 5006
  Comment = "Go to next level when player crosses"
  Flags = player_cross
  Flags2 = when_act | any
  Class = end_level
  Count = 1
  Time = 1
  Secret Exit = 0

The line is triggered when the player crosses the line (Flags = player_cross). The line is active in any skill mode and any game type (Flags2 = any) and the line carries out it's action when active (Flags2 = when_act). The line can only be triggered once (Count = 1). When activated, the current level will be completed.

xg/class/end_level.txt · Last modified: 2017-03-17 10:16 by skyjake