strutZ
Australian OT Member {AKA Beastn}
- Joined
- Nov 16, 2014
- Messages
- 1,391
- Solutions
- 7
- Reaction score
- 550
Hello Otland!
I have converted my modal window raid starter script to use @Non Sequitur modal window system which can be found HERE
You will have to install that in order to be able to use this system.
Why use this one instead?
Much cleaner then the last version you just need to add the action script and the lib files. There is no need to register the scripts on login.lua or add creaturescripts!
Information on the system
It has an easy config section for you to customize it how you would like it! You just need to fill out the config table found in the action script (pictured below)
Installation
1) Install the modal window helper HERE
2) Register the script in /data/actions/actions.xml by adding this line (Replacing "ITEMID" with the item you want to use: (Note you can use an action ID aswell)
3) Create a new text document in /data/actions/scripts and name it "start_bossRaid.lua" and paste the following:
http://pastebin.com/Ztp9BKB2
4) Add the following line to your global.lua:
5) Create a new text document in /data/lib/ and name it "start_bossRaid.lua" and paste the following:
http://pastebin.com/W3cqdAm1
Enjoy =)
I have converted my modal window raid starter script to use @Non Sequitur modal window system which can be found HERE
You will have to install that in order to be able to use this system.
Why use this one instead?
Much cleaner then the last version you just need to add the action script and the lib files. There is no need to register the scripts on login.lua or add creaturescripts!
Information on the system
It has an easy config section for you to customize it how you would like it! You just need to fill out the config table found in the action script (pictured below)
Code:
-- Config
raidStorage = 12345,
cost = 50000,
cooldown = 1800,
moneyMsg = "You dont have enough money.",
mainTitle = "Pick a Raid!",
mainMsg = "Pick the raid you wish to start. Each raid will cost you 50k",
-- End Config
Installation
1) Install the modal window helper HERE
2) Register the script in /data/actions/actions.xml by adding this line (Replacing "ITEMID" with the item you want to use: (Note you can use an action ID aswell)
Code:
<action itemid="ITEMID" script="start_bossRaid.lua"/>
Code:
<action actionid="ACTIONID" script="start_bossRaid.lua"/>
http://pastebin.com/Ztp9BKB2
4) Add the following line to your global.lua:
Code:
dofile('data/lib/start_bossRaid.lua')
http://pastebin.com/W3cqdAm1
Enjoy =)