Difference between revisions of "SetPlanetPatrolCoordinates"
From Elite Wiki
Eric Walch (talk | contribs) (New entry) |
Eric Walch (talk | contribs) m (→setPlanetPatrolCoordinates) |
||
Line 8: | Line 8: | ||
This call "setPlanetPatrolCoordinates " is only mend for station patrol. It counts how much it is called for and than gives an answer. | This call "setPlanetPatrolCoordinates " is only mend for station patrol. It counts how much it is called for and than gives an answer. | ||
− | 1st call: go to 5km ahead of the station | + | 1st call: go to 5km ahead of the main station |
− | 2nd call: go to 25km N of the station | + | 2nd call: go to 25km N of the main station |
− | 3th call: go to 25km E of the station | + | 3th call: go to 25km E of the main station |
− | 4th call: go to 25km S of the station | + | 4th call: go to 25km S of the main station |
− | 5th call: go to 25km W of the station | + | 5th call: go to 25km W of the main station |
After the 5t call it has 25% change of changing the AI to "dockingAI.plist" | After the 5t call it has 25% change of changing the AI to "dockingAI.plist" |
Revision as of 15:42, 28 October 2007
setPlanetPatrolCoordinates
This call returns: APPROACH_COORDINATES
The AI than hat to use "setDestinationFromCoordinates" to upload the coordinates. Than "performFaceDestination" to turn to this destination.
This call "setPlanetPatrolCoordinates " is only mend for station patrol. It counts how much it is called for and than gives an answer.
1st call: go to 5km ahead of the main station 2nd call: go to 25km N of the main station 3th call: go to 25km E of the main station 4th call: go to 25km S of the main station 5th call: go to 25km W of the main station
After the 5t call it has 25% change of changing the AI to "dockingAI.plist" The other 75% it restarts the loop from the 2nd call.
Go back to: OXP howto AI