Script Requests |
Bushmeister « Consul » 1385651160000
| 0 | ||
How to bind keyboard for those who in table? Lua a dit : |
Safwanrockz « Censeur » 1385653320000
| 0 | ||
Bushmeister a dit : Code a dit : |
Shamousey « Consul » 1385654400000
| 0 | ||
Is there any reason that's in eventLoop? I don't see any need to bind keys for everyone every half a second. If it's a predefined member list you want to bind, you could try something like this. a dit : |
Bushmeister « Consul » 1385656140000
| 0 | ||
Thanks ^-^ Yes, it is nessecary, because after certain actions players will be added into table, and before that they should'nt have that key bind. |
Cincle « Citoyen » 1385661540000
| 0 | ||
Do you know that in *#battle minigame - This chest is empty! :'( How to make message like that? :3 |
Benbirkralm « Citoyen » 1385667060000
| 0 | ||
What is the "Press Space if you are in the chest and get -bla bla-" Code? |
Cincle « Citoyen » 1385667960000
| 0 | ||
Benbirkralm a dit : Yes, I mean this! |
Kmlcan « Citoyen » 1385668320000
| 0 | ||
You guys need to use tfm.get.room.xmlMapInfo.xml and get the map's XML, then find the chest's XML code and do something like "if chest.x = playername.x and chest.y = playername.y then". For now I can't give the script but I think you'll figure it out. |
Cincle « Citoyen » 1385668860000
| 0 | ||
Kmlcan a dit : How about that Aww This Chest is empty? :( - I mean that message, not about space. |
Kmlcan « Citoyen » 1385668980000
| 0 | ||
Cincle a dit : if playername.x ~= chest.x or playername.y ~= chest.y then tfm.exec.chatMessage("Aww This Chest is empty!") end but as I said, you have to code it. |
Cincle « Citoyen » 1385669100000
| 0 | ||
Kmlcan a dit : Thanks, I will try to code it. ^^ EDIT: I pressed space but it Is not working :C |
Safwanrockz « Censeur » 1385670480000
| 0 | ||
Cincle a dit : It is pretty hard (for a beginner) to use tfm.get.room.xmlMapInfo.xml and get the map's XML to apply it on specific variables and tables that include the chest coordinates. |
Kathiehuang « Citoyen » 1385678160000
| 0 | ||
An image of a turkey to appear on the screen? .3. |
Shamousey « Consul » 1385678280000
| 0 | ||
Kathiehuang a dit : People who aren't on the Lua Team can't use images. |
0 | ||
A type of game requested from my friend. She wants to make like, me as slenderman where it's a game where I appear to people. The whole plot is from the SlenderMan game. Map might be included. |
Dazdalolz « Citoyen » 1385713140000
| 0 | ||
A script that can make me an "admin" and I can turn on/off collision by saying !collision ? |
Safwanrockz « Censeur » 1385722980000
| 0 | ||
Swirlfire a dit : I am currently thinking of coding one, it'd take long. Dazdalolz a dit : Try this. a dit : |
Tasted « Citoyen » 1385744760000
| 0 | ||
So, I want to make a popout that will be appeared when the mouse type '!dajser' (from the Polish - give cheese). When you enter the correct password to popout mouse gets cheese. I already have something like this: a dit : Polish player thanks! |
Shamousey « Consul » 1385745120000
| 0 | ||
Tasted a dit : function eventChatCommand(playerName, command) if command=="dajser" then ui.addPopup(0, 2, "Podaj hasło. :D", playerName, 100, 100, 0) end end function eventPopupAnswer(id, playerName, callback) if callback==":P" then tfm.exec.giveCheese(playerName) end end |
Tasted « Citoyen » 1385746020000
| 0 | ||
Ah, callback. ._. Thanks. |