<<<<<<< HEAD Game Configuration - Linedefs Settings

Game Configuration - Action Argument Settings

title (string)
Sets the title of this argument.
Argument title can be also set in DECORATE.

tooltip (string) - GZDB only.
Allows to specify a tooltip text displayed for a Thing or Linedef argument definition. Newline character ("\n") can be used to format the text.
Argument tooltips can be also set in DECORATE.
Example:

arg1
{
    title = "Mirror Polyobj Number";
    tooltip = "Polyobject that will mirror\nthis one's movements.";
}

type (integer)
Sets the type of this argument. This changes the behaviour of Argument inputs in Linedef and Thing Edit windows.
Argument type can be also set in DECORATE.
Supported values are:

enum (structure or string)
Provides a list of predefined values to display for this argument. Used only when argument type is 11 or 12.
The value can be either a name of a predefined enum:

arg0
{
    title = "Volume";
    type = 11;
    enum = "sound_volume";
}
or an explicit definition:
arg0
{
    title = "Apply to";
    type = 11;
    enum
    {
        0 = "Floor and Ceiling";
        1 = "Ceiling";
        2 = "Floor";
    } 
}
Enums can be also set in DECORATE.

default (integer) - GZDB only.
Sets the default value for a Thing or Linedef argument definition.
Default value can be also set in DECORATE.
Example:

9038
{
    title = "ColorSetter";
    arg0
    {
        title = "Red";
        default = 255;
    }
}

======= Game Configuration - Linedefs Settings

Game Configuration - Action Argument Settings

title (string)
Sets the title of this argument.
Argument title can be also set in DECORATE.

tooltip (string) - GZDB only
Allows to specify a tooltip text displayed for a Thing or Linedef argument definition. Newline character ("\n") can be used to format the text.
Argument tooltips can be also set in DECORATE.
Example:

arg1
{
    title = "Mirror Polyobj Number";
    tooltip = "Polyobject that will mirror\nthis one's movements.";
}

type (integer)
Sets the type of this argument. This changes the behaviour of Argument inputs in Linedef and Thing Edit windows.
Argument type can be also set in DECORATE.
Supported values are:

targetclasses (string) - GZDB only
When set, only things of given classes will be shown in the argument dropdown list. Used only when argument type is 14.
The value can be either a thing class name of a comma-separated list of thing class names:

arg0
{
    title = "MapSpot Tag";
    type = 14;
    targetclasses = "MapSpot,MapSpotGravity";
}

enum (structure or string)
Provides a list of predefined values to display for this argument. Used only when argument type is 11 or 12.
The value can be either a name of a predefined enum:

arg0
{
    title = "Volume";
    type = 11;
    enum = "sound_volume";
}
or an explicit definition:
arg0
{
    title = "Apply to";
    type = 11;
    enum
    {
        0 = "Floor and Ceiling";
        1 = "Ceiling";
        2 = "Floor";
    } 
}
Enums can be also set in DECORATE.

default (integer) - GZDB only
Sets the default value for a Thing or Linedef argument definition.
Default value can be also set in DECORATE.
Example:

9038
{
    title = "ColorSetter";
    arg0
    {
        title = "Red";
        default = 255;
    }
}

>>>>>>> dddb1bbf (Added, Game configurations: added "targetclasses" argument property. Can be used with argument type 14 (Thing Tag). When set, only things of given classes will be shown in the argument dropdown list in Edit Things window.)