3[
EditorAttribute(
"box",
"GameLib/Scripted",
"Script light",
"-0.25 -0.25 -0.25",
"0.25 0.25 0.25",
"255 0 0 255")]
9ScriptLightClass ScriptLightSource;
11class ScriptLight: GenericEntity
17 [Attribute(
"1",
"editbox",
"Radius",
"", NULL )]
19 [Attribute(
"1 1 1",
"color",
"Color",
"", NULL )]
21 [Attribute(
"1",
"editbox",
"Intensity",
"", NULL )]
void ParamEnum(string key, string value, string desc="")
void EditorAttribute(string style, string category, string description, vector sizeMin, vector sizeMax, string color, string color2="0 0 0 0", bool visible=true, bool insertable=true, bool dynamicBox=false)
proto native bool RemoveLight(HLIGHT light)
removes light
int[] HLIGHT
Light handle.
proto HLIGHT AddLight(IEntity owner, LightType type, LightFlags flags, float radius, vector color)