Module FAQ & Documentation |
Safwanrockz « Censeur » 1411217040000
| 0 | ||
Drgenius a dit : That would be quite redundant and is unneeded in my opinion. |
Leafileaf « Citoyen » 1411223040000
| 0 | ||
Safwanrockz a dit : ^this also liam could you rearrange the functions in alphabetical order makes searching easier |
Hybinkunduz « Citoyen » 1411225260000
| 0 | ||
Thanks Liam! *-* |
Drgenius « Citoyen » 1411239060000
| 0 | ||
Safwanrockz a dit : I don't understand how it would be redundant. Maybe I should clarify, here's an example: a dit : There could be a key at the top, something like a dit : It would also be easier to distinguish different arguments, and on the eyes Dernière modification le 1411248660000 |
Safwanrockz « Censeur » 1411484640000
| 0 | ||
It's still redundant. I don't want to see a colorful documentation nor do I have to memorize which color is which variable type. |
Mengineer « Citoyen » 1411493820000
| 0 | ||
Really, why we ca't using chatMessages on tribes? Also, you may make /slua to disable chatMessages in tribehouses for you. Dernière modification le 1411579080000 |
Haruhitastic « Censeur » 1411500480000
| 0 | ||
mengineer a dit : Because it's incredibly abusable? |
Makinit « Citoyen » 1411552560000
| 0 | ||
Haruhitastic a dit : This could be dealt with by preceding messages with something like "[~Module]" or limiting text formatting abilities. |
Mengineer « Citoyen » 1411579020000
| 0 | ||
^ This. Or Maybe, can't use in for/loops. |
Thewav « Citoyen » 1411728480000
| 0 | ||
There is now only one id for the cannon it's 17 and then you have to rotate it . |
Techtriostep « Citoyen » 1411732740000
| 0 | ||
that... sucks man ... |
Shamousey « Consul » 1411734120000
| 0 | ||
Thewav a dit : Thanks for that update, it seems to have broken other modules that rely on cannons like #domination and #ffarace, hopefully they'll all be fixed today. |
Podoko « Citoyen » 1411751820000
| 0 | ||
If I link an image to a player ( tfm.exec.addImage( link.png, "%Tigrounette", -30, -30) ) and if a new map begins, is the image removed ? Same question if the player dies and then is respawned. v Ok thank you :) Dernière modification le 1411754100000 |
Thewav « Citoyen » 1411752000000
| 0 | ||
Yes and yes. |
Shamousey « Consul » 1412118840000
| 0 | ||
Added the new shaman object IDs (pokeball, bubble cannon, leafy trampoline and rock anvil). |
Moshimoshiz « Citoyen » 1412559780000
| 0 | ||
Very cool. I kinda learned something but I didn't get much.. Really cool though! :-) |
Itchyboy « Citoyen » 1413049920000
| 0 | ||
Does anyone know how to watch everyone's x and y? I think you use player.x and player.y but it's not working in my code. |
Safwanrockz « Censeur » 1413062820000
| 0 | ||
By saying "watch" do you mean like continually change the value of a variable with the player's coordinates? |
Itchyboy « Citoyen » 1413064020000
| 0 | ||
I mean like if a mouse enters an area, then they get killed. |
Safwanrockz « Censeur » 1413064680000
| 0 | ||
Then you'll have to use eventLoop() that triggers every half a second, so you can continually check the player's coordinates (and pythag() for the circular collision): ax = 200 - X coord of area ay = 200 - Y coord of area ar = 40 - radius of the circular area function eventLoop() for i,v in pairs(tfm.get.room.playerList) do if pythag(v.x, v.y, ax, ay, ar) then tfm.exec.killPlayer(i) end end end function pythag(x1,y1,x2,y2,r) local x=x2-x1 local y=y2-y1 local r=r+r return x*x+y*y<r*r end |