Page 1 of 1

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

Posted: Thu May 04, 2006 2:04 am
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?

Posted: Thu May 04, 2006 5:39 am
by jv_map
Yah mohaa is stupid ;)

$object moveto ( -256 768 128)

will work (with the extra space).

Posted: Thu May 04, 2006 11:56 am
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 "-".

Posted: Thu May 04, 2006 8:29 pm
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 :!: