Scripting Problem: Can't compile my script... -1 reply

Please wait...

Evil_Jedi

Mapper, Skinner, Noob Scripter

50 XP

20th June 2003

0 Uploads

379 Posts

0 Threads

#1 14 years ago

When I compile a script using behavED, I get an error like this:

Problem1.gif

What's going on?




Evil_Jedi

Mapper, Skinner, Noob Scripter

50 XP

20th June 2003

0 Uploads

379 Posts

0 Threads

#2 14 years ago

Sorry I can't get it any bigger :(




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#3 14 years ago

I cannot see the image at all. So, I cannot help before I get more information.




Evil_Jedi

Mapper, Skinner, Noob Scripter

50 XP

20th June 2003

0 Uploads

379 Posts

0 Threads

#4 14 years ago

It says Error at block #3! Press a key: (here if I press any key it quits and doesn't compile.. :()

Does the image not show up or is it too small to see?




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#5 14 years ago

Well, the error only means there's something wrong with the command #3. If you post the script here, I'll probably be able to see what's wrong with it.




Evil_Jedi

Mapper, Skinner, Noob Scripter

50 XP

20th June 2003

0 Uploads

379 Posts

0 Threads

#6 14 years ago

//Generated by BehavEd

camera ( /*@CAMERA_COMMANDS*/ ENABLE ); camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam1", ORIGIN)$, 0 ); camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "cam1", ORIGIN)$, $0.000000 0.000000 0.000000$, 0 ); wait ( 5000.000 ); camera ( /*@CAMERA_COMMANDS*/ DISABLE );

That's all....




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#7 14 years ago

Yeah. Your Camera PAN is somehow got all twisted. It should look like this: camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "cam1", ANGLES)$, < 0.000 0.000 0.000 >, 0 );

Pay attention to the "ANGLES" parametre (instead of your ORIGIN, which is not right), and also the data type of the vector after it (might be dependant of the angles parametre). Change your command to follow the example I posted above, and you should get rid of the error message.