@ [RetVar/IF][RefObj] defensive move: type =[Var/Number], internsity =[Var/Number], t

Previous: @ [RetVar/IF][RefObj] attack run on target [Value] : timeout =[Var/Number] ms Fly Commands Next: @ [RetVar/IF][RefObj] move to ware object [Value] for collecting: timeout =[Var/Numbe
This page is a chapter in the book Fly Commands.
@ [skip|else] if [not]|while [not]| [RetVar/IF] = [RefObj] defensive move: type= [Var/Number], intensity= [Var/Number], timeout= [Var/Number] ms

Causes the ship to begin a defensive manoeuvre – breaking off, spirals, and whatnot. Currently setting the type of manoeuvre does nothing – this is completely controlled by the hard-code. Set this to null in all scripts. Intensity is in percent – from 1 to 100, and indicates how sharp the manoeuvres will be.

Returns FLRET_NOCOMMANDS after the timeout expires (assume success), FLRET_INTERRUPTED if the script executing this instruction is interrupted, or null if [RefObj] is invalid.


Tags for this Page

Posting Permissions

Posting Permissions
  • You may not create new articles
  • You may not edit articles
  • You may not protect articles
  • You may not post comments
  • You may not post attachments
  • You may not edit your comments