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

Function aAISetState

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

$$ACTION AI Turn [e:On/Off] the AI for object [o:Object] aAISetState Turn On/Off the AI for object Turns on or off the AI for the specified object Parameters: On/Off - whether to turn the AI on or off Object - the object whose AI is turned on or off $$END */

Source from the content-addressed store, hash-verified

3335$$END
3336*/
3337void aAISetState(int state, int objhandle) { AI_PowerSwitch(objhandle, state != 0); }
3338
3339/*
3340$$ACTION

Callers 15

CallEventMethod · 0.85
CallEventMethod · 0.85
DoNotifyMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
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