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

Function aObjGhostSet

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

$$ACTION Objects [e:Ghost/Unghost] object [o:Object] aObjGhostSet Ghost/Unghost an object Ghosts or Unghosts an object Parameters: Ghost/Unghost: whether to ghost or unghost the object Object: the object to ghost or unghost $$END */

Source from the content-addressed store, hash-verified

2901$$END
2902*/
2903void aObjGhostSet(int state, int objref) {
2904 msafe_struct mstruct;
2905
2906 mstruct.objhandle = objref;
2907
2908 MSafe_CallFunction(state ? MSAFE_OBJECT_GHOST : MSAFE_OBJECT_UNGHOST, &mstruct);
2909}
2910
2911/*
2912$$ACTION

Callers 15

CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
DoNotifyMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
SetSuperMethod · 0.85
DoInitMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85

Calls

no outgoing calls

Tested by 1

CallEventMethod · 0.68