Originally Posted by
Vinyl
Can we add more than one guide at once?
You can make 2 .lua files for example. And add both in the .TOC file. BUT, the numbers have to be different. For example, you could make a "1 to 6 dwarf.lua" and a "6 to 12 dwarf.lua". Add them both in the TOC, like this:
Code:
## X-AutoGenerated: true
## X-GeneratorComment: Basic project properties and project files will be automatically added during deployment. Properties added by the user will be copied without changes.
## Interface: 20300
## Title: GuideHelper
## Notes: Make the guides go ingame!
## Author: Jeppe Larsen
## Version: 1.0
Frame.xml
Frame.lua
1 to 6 dwarf.lua
6 to 12 dwarf.lua
But, then the 6 to 12 have to continue from the 1 to 6 guide.
Like this
1 to 6 dwarf.lua
Code:
steps = {
[1] = "Go level from 1 to 6",
[2] = "Done :)"
}
Then the 6 to 12 had to be like this:
Code:
steps = {
[3] = "Now you have to level from 6 to 12 ;)",
[4] = "Thanks for using this guide"
}
Hope you understood.
-Blackclown