-
Frame jumping
Theoretical question :
I have 5 frames. Frame 5 contains the characters stats (health,etc). I want the player to be able to press a key and go to frame 5 from any other frame in the game to review this information ... once the player has reviwed the stats, he should be able to press a key and be returned to the original page
(the page he left to go to the stat viewing page). The Storyboard pull down menus dont give me that choice. Impressed by the power of TGF2, and believe there has to be a way to do this. My thanks to all who reply.
-
Re: Frame jumping
In the event to jump to the character frame, add this action:
Set Global Value A to frame
(just type frame as the value, or select it from Retrieve data from an object / Storyboard controls / Current number of frame)
To go back to the saved frame, add this action in the character frame:
Jump to frame number Global Value A
(You have to click on Use calculation in the Jump to frame selection box and then click on retrieve data from an object, and finally select Retrieve Global Value A from the System icon)
-
Re: Frame jumping
Thank you again Popcorn. Worked exactly as you described. Really appreciate the help you always provide!
-
Re: Frame jumping
Thanks! Just a pleasure to be able to help :)