Welcome to IW!
You have a lot of spelling mistakes in it and those cause some syntax errors. For example:
DelayCommand(30.AssignCommand
It has to be 30.0,
DURATION_TYPE_INSTAN
An extra T after it wouldn't hurt.
My tip is write it line by line and compile after every line, fix the errors and do that till the line is syntax OK. Then write a few lines and test it out in the game. If it works continue, if not do it in another way.
I recently started a cutscene as well and it's not something most people would do right first time, and it involves a lot of tweaking with the delays. I would test nearly after everything I added and I needed to, some things don't work as you expect them to so there are too many things to take into account to write the whole script at once. And it's much more fun to see how your cutscene is going.
You don't have to rewrite the whole script. If you copy this line by line in a new script and use that instead you can compile it line by line and test after some lines.
Also if you're really new to scripting in general, I'd test a bit more till you get a feeling for how and if stuff will work.
[ 02-08-2004, 04:38 AM: Message edited by: philip ]
|