_SET_OBJECT_LIGHT_COLOR
Docslocal retval = SetObjectLightColor(object, p1, r, g, b)Description
Introduced in build 1493
Sets color of embedded light source.
Only appears in am_mp_nightclub.c for the nightclub dancefloor.
Not sure what p1 does, seems to only ever be '1' in scripts.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | — |
p1 | BOOL | — |
r | int | — |
g | int | — |
b | int | — |
Returns
AnyReturn type varies depending on context.