[Defconapi] controlling fighters

Robin Baumgarten robin.baumgarten at gmail.com
Sun Jul 26 12:02:21 CDT 2009


Hi Luke,

Did you use SetMovementTarget() to do that? I'm on holiday and don't have my
desktop with the DEFCON environment with me. Basically, there's
SetActionTarget(), which sets the target of the current status of the unit
(eg., shooting at ships for a bomber in normal mode or shooting a nuke for a
bomber in nuke mode); and there is SetMovementTarget(), which sets the
movement target for the unit. I don't remember if it accepts the location if
it is outside the fuel range. There is also a function to get that distance,
although i don't have it's name on the top of my head.

Robin

2009/7/22 spooq <spoooq at gmail.com>

> Can someone please post code showing how to control a fighter after
> its initial attack has been set?
> _______________________________________________
> Defconapi mailing list
> Defconapi at lists.introversion.co.uk
> http://lists.introversion.co.uk/listinfo/defconapi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.introversion.co.uk/pipermail/defconapi/attachments/20090726/ab84a02a/attachment.html 


More information about the Defconapi mailing list