Code: Select all
ListEntryA[0] int 0
ListEntryB[0] int 1
ListEntryA[1] int 2
ListEntryB[1] int 3
ect.
Its even worse if you use a coord list because you end up with this:
Code: Select all
Count is the loop counter
Toworld(CoordListX[GroupListCoord[Count]]), Toworld(CoordListY[GroupListCoord[Count]])
This is a simplified example from the (almost finished) patrol AI which would actually be more complicated because there is another list in there yet I left out.
The lists make it easyer to edit the AI to fit a new map, but to keep it usable for more complex editing requires a sh** load of functions that all need to be debuged
Any way here is a copy of my current cam 4 working copy. "Working" does not mean it works, it means that it is the copy I'm working on
If anyone wants to help please start on mission 4 and USE THE TEMPLATES!! this will help keep the cam consistent looking and make my life easier.

