Page 1 of 1

seperate battle screen

PostPosted: Mon Jun 18, 2007 7:47 pm
by Fabiomafia1298
can someone please explain (simply) how i can have a separate view for battles? like if i run into an enemy the screen changes and everything is different?

PostPosted: Mon Jun 18, 2007 9:30 pm
by Jay S.
Well.... you can either have the battle take place in a seperate game level using the LoadGame function (and save the player's position using saveVars and loadVars), or you can have the battle take place somewhere else in the same level, and have the player "jump" over to that area; e.g., the view would move instantaneously over to the specified area.

Sorry, I'm probably not being much of a help... :(

PostPosted: Wed Jun 20, 2007 6:50 pm
by jimmynewguy
I kind of have an idea for this that sum 1 with better script experience would have 2 try :lol:
make two variables, x and y:integer,actor available: and have a draw actor event for the player that says x = playersx and y = playersy and every time a battle started use save vars for x & y and at the end of the battle move the player to x and y, or something along those lines, i dont really know the exact scripting :oops: but mabey some 1 will catch my drift and make a demo for this so people will know the answer 2 this question. I suggest marslane try to solve this big propblem that (it seems) every one wants to know :shock: .

PostPosted: Wed Jun 20, 2007 7:28 pm
by Troodon
You can always use the don't draw function and then have 100% separate views without even moving the view or loading new files. :D
Just draw and don't draw stuff when it's needed/not needed.