setPosition - not working
Re: setPosition - not working
What did you try, what was the expected outcome, what happened?RMariano wrote:Am I doing something wrong? Console is working.
Reminder: moderators (green names) don't work for almost human. | http://iki.fi/sol/ - My schtuphh..
- JohnWordsworth
- Posts: 1397
- Joined: Fri Sep 14, 2012 4:19 pm
- Location: Devon, United Kingdom
- Contact:
Re: setPosition - not working
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!
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
Re: setPosition - not working
Sol_HSA wrote:What did you try, what was the expected outcome, what happened?RMariano wrote:Am I doing something wrong? Console is working.
party:setPosition(, , ,)
Also, a suggestion; please consider making autosave an option.
Regards,
RMariano
RMariano
Re: setPosition - not working
How about a sample of the command??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!
Regards,
RMariano
RMariano
- Skuggasveinn
- Posts: 562
- Joined: Wed Sep 26, 2012 5:28 pm
Re: setPosition - not working
The new syntax for setPosition is
Skuggasveinn.
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
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

Re: setPosition - not working
Thank you..... actually dissecting for a timely in-depth review. 

Regards,
RMariano
RMariano