FillGuardPosts

comment

When called, a unit of the same type of the last killed unit that belong to the AI player will be trained and replace the previous one.

note

This native is instant and will not queue, so in order to keep replacing killed units, it has to be nested inside a continuous loop.

patch

1.00

Source
common.ai (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
native FillGuardPosts       takes nothing                               returns nothing