$$ACTION Objects Set object [o:Object] lighting distance to [f:Distance] aObjSetLightingDist Set object lighting distance Sets the lighting distance for an object Parameters: Object: the object to set Distance: how far the light from the object will cast $$END */
| 2026 | $$END |
| 2027 | */ |
| 2028 | void aObjSetLightingDist(int objhandle, float dist) { |
| 2029 | msafe_struct mstruct; |
| 2030 | |
| 2031 | mstruct.objhandle = objhandle; |
| 2032 | mstruct.light_distance = dist; |
| 2033 | |
| 2034 | MSafe_CallFunction(MSAFE_OBJECT_LIGHT_DIST, &mstruct); |
| 2035 | } |
| 2036 | |
| 2037 | /* |
| 2038 | $$ACTION |
no outgoing calls
no test coverage detected