Page 1 of 1

setPosition - not working

Posted: Wed Oct 15, 2014 5:32 pm
by RMariano
Am I doing something wrong? Console is working.

Re: setPosition - not working

Posted: Wed Oct 15, 2014 6:07 pm
by Sol_HSA
RMariano wrote:Am I doing something wrong? Console is working.
What did you try, what was the expected outcome, what happened?

Re: setPosition - not working

Posted: Wed Oct 15, 2014 7:23 pm
by JohnWordsworth
The setPosition() command now has an extra parameter as it also requires the 'height' within a given level (some levels have multiple floors on them). I forget the exact parameter order though - so be careful not to accidentally teleport to a part of the game that will spoil it!

Re: setPosition - not working

Posted: Wed Oct 15, 2014 8:03 pm
by RMariano
Sol_HSA wrote:
RMariano wrote:Am I doing something wrong? Console is working.
What did you try, what was the expected outcome, what happened?

party:setPosition(, , ,)


Also, a suggestion; please consider making autosave an option.

Re: setPosition - not working

Posted: Wed Oct 15, 2014 9:16 pm
by RMariano
JohnWordsworth wrote:The setPosition() command now has an extra parameter as it also requires the 'height' within a given level (some levels have multiple floors on them). I forget the exact parameter order though - so be careful not to accidentally teleport to a part of the game that will spoil it!
How about a sample of the command??

Re: setPosition - not working

Posted: Wed Oct 15, 2014 11:10 pm
by RMariano
Anybody???

Re: setPosition - not working

Posted: Thu Oct 16, 2014 12:04 am
by Skuggasveinn
The new syntax for setPosition is
SpoilerShow
party:setPosition(x,y,facing,height,level)
The information you see when using debug=true is x,y,facing,level so you need to insert the height you want into the command when *cough*cheating*cough* ;)
0 is ground floor, and it can go up from there to 7, but it can also go down from 0 to -7, there isn't a good way to see at what height your party is, so safe the game before in case you teleporting your party into the ground :D
Skuggasveinn.

Re: setPosition - not working

Posted: Thu Oct 16, 2014 12:10 am
by RMariano
Thank you..... actually dissecting for a timely in-depth review. :)