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

Function aDestroyAllRobotsSpareHandle

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

$$ACTION Objects Destroy All Robots: Spare robot ([o:RobotHandle]) aDestroyAllRobotsSpareHandle Spares the robot with the given handle Parameters: RobotHandle - the handle of the robot to Spare $$END */

Source from the content-addressed store, hash-verified

4632$$END
4633*/
4634void aDestroyAllRobotsSpareHandle(int handle) {
4635 if (handle != OBJECT_HANDLE_NONE) {
4636 tKillObjectItem item;
4637 item.info_type = KOI_HANDLE;
4638 item.objhandle = handle;
4639
4640 KillRobotList.add(&item);
4641 }
4642}
4643
4644/*
4645$$ACTION

Callers 3

DoFrameMethod · 0.85
SetModeMethod · 0.85
CallEventMethod · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected