$$ACTION Objects Set object [o:Object] lighting color = [f:Red=0.5],[f:Green=0.5],[f:Blue=0.5] aObjSetLightingColor Set object lighting color Sets the lighting color for an object Parameters: Object: the object to set R,G,B: the fog color (0.0 to 1.0 for each of R,G, & B) $$END */
| 2048 | $$END |
| 2049 | */ |
| 2050 | void aObjSetLightingColor(int objhandle, float r, float g, float b) { |
| 2051 | msafe_struct mstruct; |
| 2052 | |
| 2053 | mstruct.objhandle = objhandle; |
| 2054 | mstruct.r1 = r; |
| 2055 | mstruct.g1 = g; |
| 2056 | mstruct.b1 = b; |
| 2057 | |
| 2058 | MSafe_CallFunction(MSAFE_OBJECT_LIGHT_COLOR, &mstruct); |
| 2059 | } |
| 2060 | |
| 2061 | /* |
| 2062 | $$ACTION |
no outgoing calls
no test coverage detected