Sorry I took a while to reply. I'm lazy.
re: memory
http://www.ids.org.au/~nsonneve/script/sc.htmlIt's a bit old but it's got a bit of info on memory 'n scripts. (somebody remind me to update it one day hey?)
Two things to remember:
1) Memory is stack based so you gotta unload stuff in the reverse order you loaded it.
2) Anything you load/unload, it'll be added to something called a script which is read during the save game procedures (to know which resources are loaded in what order)
If you want to be able to unloaded memeory resources, make sure those particular ones are loaded LAST. Also, you'll need to "disable" scripts or the script will fill up pretty quickly. The script docs have example code on how to do that.
----
re: moving objects that disappear.
I'm assuming you're using move.obj.v() ? There's a bug in the AGI Studio compiler where it thinks the step size isn't a variable but a constant number. so if you step the step size to 3, the interpreter will use the number stored in variable 3.
----
re: loops.
AGI lets you automatically set the loop depending on the direction of movement for an animated object. However, for most v2 interpreters and later v3, it only honours this if there's 4 or LESS loops in the view. Early v3 and v2.936 (?) don't honour this, and is why you get comments about strange moonwalking in Kings Quest 4 running under Sarien.
I hope this helps and doesn't put u off.
- Nick