precision <Var/Number> m : timeout= <Var/Number> ms
@ [skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = If the command is to 'return' information. If a variable is used, this command will return a FLET_ response.
<RefObj> = The 'Object' that the command is to be run on. 'Valid' objects must be a 'Ship'.
<Var/Ship> = The target that you want followed.
<Var/Number> = The distance to be maintained between follower and followed as an integer.
<Var/Number> = Sets the length of time before this command 'times out' or stops.
Similar to follow object, except this one will time out after <Var/Number> milliseconds.
Returns;
Returns FLRED_TARGETREACHED upon success.
FLRET_TIMEOUT if the timeout period expires.
FLRET_ INTERRUPTED if the script executing this instruction is interrupted.
FLRET_BREAK if the target is invalid or if the target is destroyed or moves to another sector.
FLRET_INVALIDPARMS if <RefObj> is invalid.
Example:
@ $follow.return = $ship -> follow object $target with precision 5000 m : timeout =60000 ms
The ship $ship should fly to a position 5000 m from the target $target and stay at this range. This command will time out after 60000 ms or 60 seconds. This would put $ship within firing range of some long range weapons if it was being used as part of an attack run on $target.
Related Commands:
@ <RetVar/IF><RefObj> follow object <Var/Ship> with precision <Var/Number> m
Command Location:
- »» Fly Commands
@ <RetVar/IF><RefObj> follow <Var/Ship> with precision <Var/Number> m : timeout =<Var/Number> ms