Script Requests |
Woebegone « Citoyen » 1409064600000
| 0 | ||
What does ui.addTextArea do? |
Safwanrockz « Censeur » 1409071500000
| 0 | ||
Juliantwofan a dit : ui.addTextArea(Int id, String text, String targetPlayer, Int x, Int y, Int width, Int height, Int backgroundColor, Int borderColor, Float backgroundAlpha, Boolean fixedPos (false)) • Add a text area. If targetPlayer is NIL, it sends it to all players. |
Ovcapolska « Citoyen » 1409122680000
| 0 | ||
if survive one mouse or pass 120 seconds then this mouse gets 16 points, and after 5 seconds the round scrolls to the next (also map) Please help me |
Frozenjord « Citoyen » 1409133780000
| 0 | ||
ovcapolska a dit : Ok so, I haven't tested this but I assume it should work: playersAlive = 0 maps = {2643833, 56, 32} function main() tfm.exec.newGame(maps[math.random(#maps)]) tfm.exec.disableAutoNewGame(true) tfm.exec.disableAutoTimeLeft(true) end function eventNewGame() playersAlive = 0 for i,p in pairs(tfm.get.room.playerList) do playersAlive = playersAlive + 1 end end function eventLoop(time, remaining) if remaining <= 0 then tfm.exec.newGame(maps[math.random(#maps)]) end end function eventPlayerDied(name) playersAlive = playersAlive - 1 if playersAlive == 1 then finish() elseif playersAlive == 0 then tfm.exec.setGameTime(5) end end function finish() for i,p in pairs(tfm.get.room.playerList) do if not p.isDead then tfm.exec.giveCheese(i) tfm.exec.playerVictory(i) tfm.exec.setGameTime(5) end end end main() Enter the maps that you want in the "maps = {}" line. Separate each map with a comma and if it is a user-made map, remove the "@". |
Ovcapolska « Citoyen » 1409143920000
| 0 | ||
Jamesqwartz a dit : Scroll rounds not work How to remove shaman, because disableAutoShaman not work. And this isn't correct with my old scirpt. I don't have ammo bar. |
Frozenjord « Citoyen » 1409145720000
| 0 | ||
ovcapolska a dit : It works in isolation, I can't help you further if I can't see the full script which you are using. However for disabling shaman, just use: tfm.exec.disableAutoShaman(true) |
Cheetahkitty « Citoyen » 1409497440000
| 0 | ||
How do u give EVERYONE be able to press space to kill people? |
Panadesoim « Citoyen » 1409568780000
| 0 | ||
I want to do a script for a fight between shamans. I mean I want a script that I already did to modify it. Those shamans would need to fight and put on a map made by me. If possible I would like each shaman have 3 lives. In this script, shamans should not aibab their ability in the game. |
Profmfare « Citoyen » 1409606460000
| 0 | ||
To determine the coordinates not to exceed one code please :( |
0 | ||
Be able to change color of nametag! Sorry, not good engles :c 500 cheeses = Blue, red, yellow 1,000 cheeses = Light blue, darkener red, light yellow, pink, green |
Safwanrockz « Censeur » 1409779080000
| 0 | ||
ballooniey a dit : That's not possible anymore due to the removal of player's statistic variables from the Lua library. |
Shakewooz « Citoyen » 1409922480000
| 0 | ||
a script that can control wind and gravity and spawn bubbles when click , C; all in 1 script? |
Jojololly « Citoyen » 1409928600000
| 0 | ||
Shakewooz a dit : You can't control wind and gravity. Although I believe you can spawn bubbles. How would you want them spawned? Emotes? Keyboard presses? Mouse clicks? |
Safwanrockz « Censeur » 1409947080000
| 0 | ||
Jojololly a dit : You can. :) local xml = "" gravity = 10 wind = 0 function eventNewGame() xml = tfm.get.room.xmlMapInfo.xml:gsub("<P", string.format("<P G=\"%d,%d\"", gravity, wind)) end tfm.exec.newGame() function eventChatCommand(n,c) if c=="load" then tfm.exec.newGame(xml) end end Adjust the wind and gravity variables for more/less wind/gravity, then type !load. Dernière modification le 1410025080000 |
Shakewooz « Citoyen » 1409992500000
| 0 | ||
^ i cannot spawn bubbles with a click?.. ^ the wind&gravity doesn't work it seems. |
Crazysushi « Citoyen » 1410022500000
| 0 | ||
Is it possible for a script to make all mice in a room cows? o_o Edit: Or nyancat! >3< |
Safwanrockz « Censeur » 1410025140000
| 0 | ||
Shakewooz a dit : Fixed it, both should work now: local xml = "" gravity = 10 wind = 0 function eventNewGame() xml = tfm.get.room.xmlMapInfo.xml:gsub("<P", string.format("<P G=\"%d,%d\"", gravity, wind)) end tfm.exec.newGame() function eventChatCommand(n,c) if c=="load" then tfm.exec.newGame(xml) end end for i in pairs(tfm.get.room.playerList) do system.bindMouse(i) end function eventMouse(n,x,y) tfm.exec.addShamanObject(59,x,y) end Crazysushi a dit : Not possible since only Lua members can add images. |
Lunairsa « Citoyen » 1410174420000
| 0 | ||
http://fc04.deviantart.net/fs70/i/2012/178/f/e/rarity_on_transformice_by_etherealwish-d550ryl.jpg I'll ask the glowing horn |
Shakewooz « Citoyen » 1410624660000
| 0 | ||
A Script when i teleport using a click, it also shows up the shaman teleport-effect on the same place i clicked on? :D ps: a script for me only and a script for all '.' |
Fierywarpath « Citoyen » 1410666120000
| 0 | ||
Shakewooz a dit : script for everyone: for name,player in pairs(tfm.get.room.playerList) do system.bindMouse(name, true) end function eventMouse(name, x, y) tfm.exec.movePlayer(name, x, y-20, false, 0, 1, false) end for you only: for name,player in pairs(tfm.get.room.playerList) do system.bindMouse(name, true) end function eventMouse(name, x, y) if name=="Shakewooz" then tfm.exec.movePlayer(name, x, y-20, false, 0, 1, false) end end the teleport effect is not possible since only lua members can add image. Dernière modification le 1410668700000 |