I set an aircraft on its way with
m_game->SetActionTarget(m_game->GetOwnUnits()[0], -1, m_game->GetLongitude(m_game->GetOwnUnits()[0])+5.0f, m_game->GetLatitude(m_game->GetOwnUnits()[0])-5.0f);
where m_game->GetOwnUnits()[0] 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.
EDIT
Noone has ever moved an aircraft?
I'll try a boat, although that means getting involved with the fleet code.
moving aircraft
Come in here to talk about your sky-net style world-destroying super bots!
Moderator: Defcon moderators
Jump to
- Introversion
- Introversion News
- Introversion Lounge
- Introversion Blog
- Games
- Scanner Sombre
- Prison Architect
- Prison Architect
- General
- Community Members
- Campaign
- Escape Mode
- Modding
- Tablet Testing
- Introversion
- Subversion
- Multiwinia
- Multiwinia
- General
- Gameplay Discussion
- Strategy and Tactics
- Mods and Maps
- The Future
- Introversion
- Support
- Windows Troubleshooting
- Defcon
- Defcon
- General
- Strategic Air Command
- The Debriefing Room
- Mod Projects
- Think Tank
- AI Bots
- DEFCON VR
- Introversion
- Support
- Windows Troubleshooting
- Linux Troubleshooting
- Darwinia
- Darwinia
- General
- Mod Projects
- Introversion
- Technical Support
- Windows Issues
- Mac Issues
- Linux Issues
- Translation Issues
- Uplink
- Uplink
- General
- Latest Patch
- Hints and Tips
- The Full Game
- The Future
- Uplink in Moderation
- Introversion
- Nakatomi
- Bug Reports
- The Bonus Disk
- The Latest Patch
- Mac Uplink
Who is online
Users browsing this forum: No registered users and 6 guests