AIRun
Looks up the named AI script in the owning player's context and, if found, invokes it with the settlement as its context.
The argument is the name used to resolve the AI script path. The reviewed path directly invokes execution with a temporary context representing the same settlement. A missing script produces a diagnostic. Use a valid settlement. Resumption of scripts that wait and their subsequent effects are outside this entry.
Signature
void Settlement::AIRun(str)Parameters and return
Receiver: Settlement · Return: void
| Position | Type |
|---|---|
| 1 | str |
Other overloads
No other overloads with this name in the published catalog.