createLightSource
createLightSource
Description
Create a new light source
Definition
createLightSource(string name, integer lightType, float r, float g, float b, float range)
Arguments
| string | name | |
|---|---|---|
| integer | lightType | one of enum LightType |
| float | r | |
| float | g | |
| float | b | |
| float | range |
Return Values
| entityId | lightEntity |
|---|