HOW TO GO X FRAMES BACK
----------------------------------
This is a tutorial on how to go X frames back. First, create these variant variables:
- Code: Select all
0back
1back
2back
3back
4back
5back
Then, in all of the frames of your project (except the first one), have this executed when the frames are loaded:
- Code: Select all
5back = 4back
4back = 3back
3back = 2back
2back = 1back
1back = 0back
0back = Action.GetCurrentFrameName
In the first frame, place this code:
- Code: Select all
5back = Action.GetCurrentFrameName
4back = Action.GetCurrentFrameName
3back = Action.GetCurrentFrameName
2back = Action.GetCurrentFrameName
1back = Action.GetCurrentFrameName
0back = Action.GetCurrentFrameName
On the hotspot where you want to be taken to a frame when it is clicked, place this code:
- Code: Select all
Action.GoToFrame = Xback
Where X is the amount of frames you want to go back (up to 5).
Hope this hels anyone that needs it!