[Python/SDK] UNITAI_PIRATE_SEA vs. UNITAI_ATTACK_SEA

jkp1187

Unindicted Co-Conspirator
Joined
Aug 29, 2004
Messages
2,496
Location
Pittsburgh, Pennsylvania
Question about Unit AI. What sort of unit tactic does UNITAI_PIRATE_SEA command? Same question with the UNITAI_ATTACK_SEA.

I am creating an event that will spawn several Barbarian ships near the waters of a player who doesn't have a strong navy...the idea being that these ships will attack ships and pillage workboats wherever possible, of course. Which one of these UnitAITypes would be better to accomplish this goal?

Is there a list somewhere compiling the various UnitAITypes and explaining what they do? I looked but didn't find anything....

Thanks.
 
You want UNITAI_ATTACK_SEA.

Barbarians with UNITAI_ATTACK_SEA will Attack/Pillage , heal, patrol.

Non Barbarians with UNITAI_ATTACK_SEA try to bombard or blockade.

UNITAI_PIRATE_SEA trys to blockade, explores unrevealed tiles, less agressive pillaging.
 
Back
Top Bottom