autopatrol
55
edits
m (Better wording in intro) |
m (Forgot 0 was a number again...) |
||
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 any section. For example, if there are 140 AIs and you wanted to reference Action | 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 20, its index would be 160 (140 + 20). | ||
=Parameter Objects= | =Parameter Objects= |