31 July 2019
selection optional parameter.20 August 2015
The setprimitivelightdata command can be used to set the light data for a primitive.
| Command | Required Parameters | Required Corrade Permissions | Example |
|---|---|---|---|
setprimitivelightdata | group, password, item, data | interact | |
| Optional Parameters | Possible Value | Description |
|---|---|---|
range | An number representing meters. | The spherical radius from Corrade to search the primitive in. |
The command takes as parameter in data a CSV list of members of the LightData structure.
Intensity parameter is set to 0, then the other parameters are ignored and the light for the object is switched off. Conversely, a primitive's lighting can be switched on by setting the Intensity parameter to a value between 0 and 1.