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

Function aSetTurnRate

scripts/Merc02.cpp:1068–1073  ·  view source on GitHub ↗

$$ACTION Custom Set [o:Object] turn rate to [f:Turn Rate] aSetTurnRate Set Turn Rate of Object Parameters: Object: the object to make sparks come out of Turn Rate: the turn rate $$END */

Source from the content-addressed store, hash-verified

1066$$END
1067*/
1068void aSetTurnRate(int objhandle, float turn_rate) {
1069 if (!qObjExists(objhandle))
1070 return;
1071
1072 AI_Value(objhandle, VF_SET, AIV_F_MAX_TURN_RATE, &turn_rate);
1073}
1074
1075/*
1076$$QUERY

Callers 1

CallEventMethod · 0.85

Calls 1

qObjExistsFunction · 0.85

Tested by

no test coverage detected