User Tools

Site Tools


xg:class:none

None (XG class)

Class = none

This XG line class is a special case in that it does nothing (it has no action). The reason for it's existence is so that the secondary_actions can be accessed.

Example

Line Type {
    ID = 5007
    Comment = "Say hello to the player"
    Flags = player_cross
    Flags2 = when_act | any
    Class = none
    Count = 1
    Time = 1
    Act message = "Hello Player"
}

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 message *Hello Player* is sent to the player that activated the line.

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