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

Function qObjExists

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

$$QUERY Objects b:[o:Object] exists qObjExists Does this object exist? Determines if the specified object exists in the world Parameters: Object: The object to check $$END */

Source from the content-addressed store, hash-verified

5183$$END
5184*/
5185bool qObjExists(int objref) {
5186 msafe_struct mstruct;
5187
5188 mstruct.objhandle = objref;
5189
5190 MSafe_GetValue(MSAFE_OBJECT_TYPE, &mstruct);
5191
5192 return (mstruct.type != -1);
5193}
5194
5195/*
5196$$QUERY

Callers 15

CallEventMethod · 0.85
aEmitSparksFunction · 0.85
ReleaseTargetMethod · 0.85
DoFrameMethod · 0.85
aEmitSparksFunction · 0.85
aEmitSparksFromGunpointFunction · 0.85
aSetTurnRateFunction · 0.85
qSecurityCameraAlertedFunction · 0.85
qBeamHittingPlayerFunction · 0.85
CallEventMethod · 0.85
aObjPlayImmAnimFunction · 0.85
aABSetScenarioIDsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected