I'm writing a "programmable" robot of sorts, and by programmable I mean the owner would say "forward 3, wait 2, look left, forward 1, turn around, wave" and the robot will walk forward for 3 seconds, wait 2 seconds, turn to it's left, walk forward again for 1 second, turn completely around and then wave.
The animation and movement I can code fine, but it's getting the robot to read the directions and then execute them in proper order that's been giving me a headache. The main problem seems that I am running into stack-heap collision errors with very long sets of commands (a whole chat line worth), and was wondering if I should instead write a seperate script for each command, and then use llMessageLinked to call for each command script when it's needed, or if there isn't some better way to avoid the stack-heap errors. in general I don't like relying on multiple scripts listening for messages as I'm trying to abide by the "less listeners = less lag" rule.