Definition at line 4 of file ShipAIPlugin.java.
◆ advance()
void com.fs.starfarer.api.combat.ShipAIPlugin.advance |
( |
float |
amount | ) |
|
The AI should do its main work here.
- Parameters
-
◆ cancelCurrentManeuver()
void com.fs.starfarer.api.combat.ShipAIPlugin.cancelCurrentManeuver |
( |
| ) |
|
◆ forceCircumstanceEvaluation()
void com.fs.starfarer.api.combat.ShipAIPlugin.forceCircumstanceEvaluation |
( |
| ) |
|
When this is called, the AI should immediately evaluate nearby threats and such, if it only does it periodically otherwise.
Called when the autopilot is toggled on.
◆ getAIFlags()
◆ getConfig()
ShipAIConfig com.fs.starfarer.api.combat.ShipAIPlugin.getConfig |
( |
| ) |
|
◆ needsRefit()
boolean com.fs.starfarer.api.combat.ShipAIPlugin.needsRefit |
( |
| ) |
|
Only called for fighters, not regular ships or drones.
- Returns
- whether the fighter needs refit
◆ setDoNotFireDelay()
void com.fs.starfarer.api.combat.ShipAIPlugin.setDoNotFireDelay |
( |
float |
amount | ) |
|
Advise the AI not to fire for amount seconds. Used when fighters are taking off from a carrier to prevent bomb/torpedo friendly fire.
- Parameters
-
The documentation for this interface was generated from the following file: