autopatrol
55
edits
(Create baiprog page) |
m (Clearer wording (?)) |
||
Line 6: | Line 6: | ||
==Indexes== | ==Indexes== | ||
Everything in an AIProgram's parameter list is addressed by an index. This includes AIs, Actions, Behaviors, and Queries. Imagine every AI, Action, Behaviour, and Query as objects in an array. Counting starts at 0, and doesn't reset at the end of | Everything in an AIProgram's parameter list is addressed by an index. This includes AIs, Actions, Behaviors, and Queries. Imagine every AI, Action, Behaviour, and Query as objects in an array. Counting starts at 0, and doesn't reset at the end of any section. For example, if there are 140 AIs and you wanted to reference Action 19, its index would be 160 (140 + 19 + 1 because counting starts at [AI/Action/etc.]_0). | ||
=Parameter Objects= | =Parameter Objects= |