I
icuurd12b42
Guest
Description
TMC Command Stack!
A re-written version of my original command stack which allows defining complex AI behaviors with ease
The system consist of a list/stack of instructions/command scripts that define the behavior of an AI like patrolling an area. The command scripts themselves can modify the command stack instructions, adding to the command stack, inserting instructions in the behavior so to give chase to an enemy and to come back to patrolling when done
Features:
- Stack and list type feature... Push Pop Add commands to the command list/stack
- Sample commands scripts included. Kept it simple this time
- Command Script can add to the current list to modify behavior
- Switch from one state to another easily
- Basically a script based state machine on steroids
- Accommodation for comparing script to peek at what is currently active
- Accommodation for defining script subset as a string lookup to prevent calling non command type script
The system is not interchangeable with my previous version of the command stack on the GMC. Similar in features, yes, but your existing scripts would need to be converted to the new concept.