I set an aircraft on its way with
m_game->SetActionTarget(m_game->GetOwnUnits(), -1, m_game->GetLongitude(m_game->GetOwnUnits())+5.0f, m_game->GetLatitude(m_game->GetOwnUnits())-5.0f);
where m_game->GetOwnUnits() is an airfield.
But then none of SetActionTarget(), SetMovementTarget() or SetLandingTarget() have any effect on the plane? It simply flies to the target set by the airfield, then returns home.
Noone has ever moved an aircraft?
I'll try a boat, although that means getting involved with the fleet code.
Come in here to talk about your sky-net style world-destroying super bots!
Moderator: Defcon moderators
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests