MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / aRoomSetLightingFlicker

Function aRoomSetLightingFlicker

scripts/DallasFuncs.cpp:2163–2170  ·  view source on GitHub ↗

$$ACTION Rooms Turn [e:On/Off] Flicker in room [r:Room] aRoomSetLightingFlicker Turn On/Off flicker in room Turns on or off the light flicker in a room Parameters: On/Off: whether the flicker should be on or off Room: the room to set $$END */

Source from the content-addressed store, hash-verified

2161$$END
2162*/
2163void aRoomSetLightingFlicker(int state, int roomnum) {
2164 msafe_struct mstruct;
2165
2166 mstruct.roomnum = roomnum;
2167 mstruct.state = state;
2168
2169 MSafe_CallFunction(MSAFE_ROOM_LIGHT_FLICKER, &mstruct);
2170}
2171
2172/*
2173$$ACTION

Callers 7

CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected