![]() |
0 | ||
Livcorish a dit : Ordboka a dit : Ord actually broke it when I asked him to fix it, lol |
![]() ![]() « Consul » 1381645140000
| 0 | ||
Issey a dit : OMG thanks!!! |
0 | ||
I have this command. a dit : But it doesnt seem to do anything. How can I fix it? |
![]() ![]() « Citoyen » 1381660620000
| 0 | ||
I'll have a script which when clicked it shoots up the item, and use this command! Id (3 or more) shoots the object id |
![]() « Citoyen » 1381662180000
| 0 | ||
Shamousey a dit : But I never said I was going to steal other people's Map's code. I just need to make a module that will automatically determine the coordinates of some grounds using the xml Shamousey a dit : Thanks |
![]() ![]() « Consul » 1381662960000
| 0 | ||
script a dit : Help make sure that this script is run every new round |
![]() ![]() « Censeur » 1381664460000
| 0 | ||
Bushmeister a dit : function eventNewGame() for name,player in pairs(tfm.get.room.playerList) do tfm.exec.setShaman(name) tfm.exec.giveMeep(name) end end |
![]() ![]() « Consul » 1381665000000
| 0 | ||
Minstens a dit : For some reason does not work ... UPD found a bug, thanks Issey a dit : s a dit : I do not know why, but when the mouse touched the shaman - the cheese is not taken :( |
![]() 1381674240000
| | ||
[Modéré par Bolinboy, raison : double post.] |
![]() ![]() « Censeur » 1381675620000
| 0 | ||
Bushmeister a dit : function eventNewGame() shaman=nil for name,player in pairs(tfm.get.room.playerList) do if(tfm.get.room.playerList[name].isShaman) then shaman=name print(shaman.." just stole the cheese! CATCH HER!") tfm.exec.giveCheese(shaman) end end if(shaman==nil) then print('No shaman found!') end end function eventLoop(ct,cr) if(shaman~=nil) and not tfm.get.room.playerList[shaman].isDead then local shamanx=tfm.get.room.playerList[shaman].x local shamany=tfm.get.room.playerList[shaman].y for name,player in pairs(tfm.get.room.playerList) do if not tfm.get.room.playerList[name].isShaman then x=tfm.get.room.playerList[name].x y=tfm.get.room.playerList[name].y if x>shamanx-30 and x<shamanx+30 and y>shamany-30 and y<shamany+30 then tfm.exec.giveCheese(name) end end end end end this seems to work |
![]() ![]() « Consul » 1381677180000
| 0 | ||
Tomdizzy a dit : it really worked! Thank you! |
![]() ![]() « Censeur » 1381694280000
| 0 | ||
I need to ui.addTextArea transparent background help |
![]() ![]() « Citoyen » 1381695060000
| 0 | ||
Does anyone know what is wrong with my code? http://pastebin.com/vmUXYkmS Basically it's supposed to check if the room has more than 4 mice (which is working), if true than it should play ffa() if not then do nothing. But the problem is that it starts playing ffa but we can't spawn cannons. Any ideas? |
![]() ![]() « Censeur » 1381695180000
| 0 | ||
http://pastebin.com/C6FRN3FX Can anyone make it so that there are multiple popup bubbles following the mouse? |
![]() ![]() « Censeur » 1381695480000
| 0 | ||
Brkeeee a dit : ui.addTextArea(0, "Text Here", nil, nil, nil, nil, nil, 0) |
![]() ![]() « Citoyen » 1381734780000
| 0 | ||
as I make a lua script like yours Shamousey |
![]() ![]() « Censeur » 1381736040000
| 0 | ||
Safwanrockz a dit : thank you!! and i need firework code |
![]() ![]() « Censeur » 1381750500000
| 0 | ||
Brkeeee a dit : tfm.exec.explosion(Int xPosition, Int yPosition, Int power, Int distance, Boolean miceOnly) I haven't tried it yet so I don't know the standards of the power and distance. Magicalorb a dit : Kinda late but blegh. a dit : |
![]() ![]() « Consul » 1381756020000
| 0 | ||
Is it possible to make so that when the shaman died began a new round? |
![]() ![]() « Consul » 1381756800000
| 0 | ||
Bushmeister a dit : function eventPlayerDied(name) if tfm.get.room.playerList[name].isShaman then tfm.exec.newGame() end end |