This was my first run to get script debugging working
so maybe there's an easier way.
..........save changed script; maybe F7 required to reload scripts
It's useful to create a copy named tostartpoint1() in guifastmenu.ws
(place it before class CGuiFastMenu extends CGuiPanel for example)
Try to use another tag than 'start' for your teleportation aim.
Nevertheless, HTH
shak-otay
so maybe there's an easier way.
- start REDKit and load a world (for me it was L02-port.w2w)
- bevor hitting the button "Play Game" I had to press "Load a saved game"
- start the Script Studio ("The Witcher 2\bin\scriptStudio.Release.exe")
- edit guifastmenu.ws (game\gui);
..........save changed script; maybe F7 required to reload scripts
- toggle breakpoint by clicking LMB just BEHIND the line number 51
- click "Connect to running game" button
- move to REDkit and press left Ctrl
- move to script studio
- hit F11 (step into) and mati_test.ws should pop up
- perform the script lines of script function tostartpoint() by F10
- after execution of thePlayer.Teleport( pos ); press F5
- move to game again; press meditation button and ESC
It's useful to create a copy named tostartpoint1() in guifastmenu.ws
(place it before class CGuiFastMenu extends CGuiPanel for example)
Try to use another tag than 'start' for your teleportation aim.
Nevertheless, HTH
shak-otay