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.";
}
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.9038
{
title = "ColorSetter";
arg0
{
title = "Red";
default = 255;
}
}