moveto (-### ### ###) give error

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

moveto (-### ### ###) give error

Post by HDL_CinC_Dragon »

Code: Select all

$object moveto (-256 768 128)
MOHAA Console points to the negative as the cause of error. any idea why?
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yah mohaa is stupid ;)

$object moveto ( -256 768 128)

will work (with the extra space).
Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Yep. :)
docs/Script Files.txt wrote:Note
----

Due to a parsing deficiency, vectors like (-1 2 3) should be written ( -1 2 3). That is, a space must be between the "(" and the "-".
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

son of a gun are you serious? its that easy?! man i hate it when it does that haha. Thanks guys :!:
Image
Post Reply