Code: Select all
animtime = Get CURRENT_SPEED; //CURRENT_SPEED = 29
animtime = ANIMFACTOR / animtime;
Cob error, unknown get costant 29.
How do I get the current speed of a unit?
Moderator: Moderators
Code: Select all
animtime = Get CURRENT_SPEED; //CURRENT_SPEED = 29
animtime = ANIMFACTOR / animtime;
Code: Select all
MotionControl()
{
while (TRUE)
{
animtime = Get CURRENT_SPEED;
animtime = ANIMFACTOR / animtime;
///ANIMATION CODE [...]
sleep(100)
}
}
Indeed. The new scripts won't replace the old ones, just give fresh developers much more powerful alternitives. Inclusion of the TA:K cob commands will allow tonnes of old units to be dumped into spring much like the current old units were. Mod makers love units they don't have to fabricate from scratch.zwzsg wrote:I disagree, and think it would be good to have Spring support all TA:K cob commands.