Lensflare commands
 
Specific commands for the lensflare entity. The lensflare entity is a subclass of trigger entities, it also respond to many trigger and entity commands (gameX86 source code reference: lensflare.cpp).

Specific entity commands are colored in brown in my custom SinScript syntax coloring wordfile for UltraEdit32.


lightstyle
 
Function
 
This is used to set the lightstyle of a lensflare entity.

Syntax
 
$<lensflare_name> lightstyle <lightstyle_number>

Notes & examples
 
The <lightstyle_number> argument must be a standard preset lightstyle number. Do not use a lightstyle string. Setting a lightstyle value with this command will override the value of the entity's "lightstyle" key. For a list of possible lightstyles, refer to the lightstyle entity docs.

Note:
Do not confuse this command with the lightstyle Light command. It is an entirely different command with a different function even though it has the same name.