new BuildingAI()
- Source:
Methods
CheckTargetVisible()
Returns true if the target entity is visible through the FoW/SoD.
- Source:
FireArrows()
Fire arrows with random temporal distribution on prefered targets.
Called 'roundCount' times every 'RepeatTime' seconds when there are units in the range.
- Source:
GetArrowCount()
Returns the number of arrows which needs to be fired.
DefaultArrowCount + Garrisoned Archers (i.e., any unit capable
of shooting arrows from inside buildings).
- Source:
OnRangeUpdate()
Called when units enter or leave range.
- Source:
OnValueModification()
React on Attack value modifications, as it might influence the range.
- Source:
SetupRangeQuery()
Setup the Range Query to detect units coming in & out of range.
- Source: