conditionScannerContainsPatrol
Moderators: winston, another_commander, Getafix
conditionScannerContainsPatrol
Station AI uses ai.conditionScannerContainsPatrol, but there's no documentation on it at wiki. What does it do in detail?
Re: conditionScannerContainsPatrol
Absolutely nothing - there's no such function defined by the default AI controller. (Therefore the "notcondition" in the station AI is always true and the associated behaviour always occurs if it gets that far down the priorities)
What it should do is check the station's scanner for ships with primary role equal to the station AI's
What it should do is check the station's scanner for ships with primary role equal to the station AI's
oolite_stationPatrolRole
parameter.