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

Function qAIQueryMaxSpeed

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

$$QUERY AI f:[o:Object] max speed qAIQueryMaxSpeed Parameters: Object: Get object's max speed. $$END */

Source from the content-addressed store, hash-verified

6737$$END
6738*/
6739float qAIQueryMaxSpeed(int objhandle) {
6740 float max_speed = 0.0f;
6741 AI_Value(objhandle, VF_GET, AIV_F_MAX_SPEED, &max_speed);
6742 return max_speed;
6743}

Callers 2

cAddObjToDroidManagerFunction · 0.85
CallEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected