[Minigame]Shaman Defence |
![]() ![]() « Citoyen » 1382112600000
| 0 | ||
Wheres the code that opens the shop? |
![]() ![]() « Citoyen » 1382112840000
| 0 | ||
The shop button is called on screen in the new game method. Ethanrockz a dit : And this gets triggered when the button is clicked Ethanrockz a dit : Feel free to ask if anything is still unclear. |
![]() ![]() « Citoyen » 1382114520000
| 0 | ||
so What order do I put the codes in cause the shop comes up but I cant get out of it and it errors when i DO THE FIRST BIT OF COMMAND i FOUND :p |
![]() ![]() « Citoyen » 1382163420000
| 0 | ||
Can I see your code? Would make it easier to se where you went wrong. |
![]() ![]() « Citoyen » 1382204400000
| 0 | ||
ui.addTextArea(4, "<p align='center'><a href='event:shopOpened'>Shop</a></p><br>", NIL, 50, 25, 35, 20, 0x1C3C41, 0x1C3C41, 1) ui.addTextArea(5, [[<p align='center'><font size='20'>Shop</font></p> <p>Spawns a cannon instead of rune when you click</p> <p>A tower spawn runes in random directions</p> <p>A tower spawn cannons in random directions </p> <p>You can spawn items twice as fast </p>]], playerName , 200, 50, 400, 225, 0x1C3C41, 0x1C3C41, 1) ui.addTextArea(11, "<p align='center'><a href='event:closeHelp'>Buy for 25</a></p><br>", playerName, 500, 135, 100, 20, 0x0E242D, 0x0E242D, 1) ui.addTextArea(12, "<p align='center'><a href='event:closeHelp'>Buy for 100</a></p><br>", playerName, 500, 170, 100, 20, 0x0E242D, 0x0E242D, 1) elseif textAreaId == 111 and players[playerName].cash >= 25 then players[playerName].cash = players[playerName].cash - 25 closeShop(100) towerBuildingMode = true towerBuilder = playerName towerObjectPicker = 32 elseif textAreaId == 112 and players[playerName].cash >= 100 then players[playerName].cash = players[playerName].cash - 100 closeShop(100) towerBuildingMode = true towerBuilder = playerName towerObjectPicker = 19 end if players[playerName].cash >= 250 then players[playerName].cash = players[playerName].cash - 250 doubleSpeed = true ui.removeTextArea(113, playerName) ui.addTextArea(114, "<p align='center'><a href='event:closeHelp'>Bought</a></p><br>", playerName, 1300, 205, 100, 20, 0x0E242D, 0x0E242D, 1) end end function closeShop(num) ui.removeTextArea(5+num, playerName) ui.removeTextArea(6+num, playerName) ui.removeTextArea(7+num, playerName) ui.removeTextArea(8+num, playerName) ui.removeTextArea(10+num, playerName) ui.removeTextArea(11 +num, playerName) ui.removeTextArea(12 + num, playerName) ui.removeTextArea(13 + num, playerName) ui.removeTextArea(14 + num, playerName) end |
![]() ![]() « Citoyen » 1382206320000
| 0 | ||
someone give me the game code . i can't see the link . 404 ERROR NOT FOUND :/ |
![]() ![]() « Consul » 1382207220000
| 0 | ||
Alishakouri a dit : The link in the OP works fine for me. http://pastebin.com/qsvF3Y7U |
![]() ![]() « Citoyen » 1382207220000
| 0 | ||
404 - Not Found< PLS COPY THE CODE :/ |
![]() ![]() « Citoyen » 1382208720000
| 0 | ||
how do i play this D: |
![]() ![]() « Citoyen » 1382247660000
| 0 | ||
Ordboka a dit : Copied from the first post. Hope you are able to play and have fun doing it :D |
![]() ![]() « Citoyen » 1383111540000
| 0 | ||
spell your word corect first |
![]() ![]() « Citoyen » 1383117180000
| 0 | ||
Jeremiahmice a dit : What do you mean? |
0 | ||
Probably defence/defense again.. crying for you ord, no one understands |
![]() ![]() « Citoyen » 1383147120000
| 0 | ||
Jsilv a dit : Haha. Thanks for caring <3 |
![]() ![]() « Citoyen » 1383155940000
| 0 | ||
bored ;-; |
![]() ![]() « Citoyen » 1383157200000
| 0 | ||
Michealjacki a dit : Because of the minigame? |
0 | ||
hey ! Topic-456238 but tr and different |
![]() ![]() « Citoyen » 1392983520000
| 0 | ||
arabalar :DD |
![]() ![]() « Citoyen » 1396767600000
| 0 | ||
is this minigame official? :o |
0 | ||
Jaedee a dit : no you can only play it in the tribe house with the code he provided |