[Event] The Lua Coder! |
Charikaan « Citoyen » 1498900500000
| 0 | ||
Kimsterjay a dit : plz kindly message me and Poxies the anser xD |
Yenlui87 « Citoyen » 1498901880000
| 0 | ||
I see :) It make sense now. The functions are trigered by an event ! So make the envent happen : kill / respawn then the respawn function (wich start in the event of and not refine the event, i was confuse about that) sets you as a vampire then the vampire event function gives you the gift. But the "end" at the begining seems weird to me, should it not be at the very end ? |
Sebafrancuz « Consul » 1498903140000
| 0 | ||
end is always afer if ..then condition and after function name_Of_Function() if ... then --instructions end function Name() --instructions end |
1 | ||
For me "end" was at the beginning 2 times already ;[ How should i solve that? |
Yenlui87 « Citoyen » 1498904040000
| 0 | ||
Ok so I think i understand... but it didn't work I've also tried having the if not ... then inside the event respawn function but it didn't work either. I feel that i understand, thank to all your help (and so THANKS :) but... i must still be missing something... |
Yenlui87 « Citoyen » 1498904280000
| 0 | ||
Man i love this event :) A shame the maps goes so fast ! |
1 | ||
Has anyone figured out the correct code order? I'm desperate af |
Peanut_butter « Consul » 1498904940000
| 0 | ||
Maybe for the vampire one you have to be a vampire, then kill yourself to become a normal mouse and if you're not a vampire, you win! so somehow like this? Code Lua 1 2 3 4 5 6 7 8 9 10 11 event_title = "Turing Mouse" |
Yenlui87 « Citoyen » 1498905480000
| 0 | ||
Nice idea ! I'll give it a try and post the result. |
Yenlui87 « Citoyen » 1498905660000
| 0 | ||
Mmmm... but the end at the begining doesn't "end" anything. Maybe stiking it inside the respawn function like set.Vampire function .... kill respawn end function ... if not... then end give end |
Karingowgm « Citoyen » 1498909860000
| 0 | ||
Quelqu'un peut m'expliquer l'évènement ? car ↓ 1. Je ne comprends jamais le "LUA" ! 2. La présentation n'a pas dit comment jouer ou il faut quoi faire dans la map/carte (enfaite c'est la même queston seulement d'une façon différente xd) ! Can someone explain the event to me ? because ↓ 1. I never understand the "LUA" ! 2. The presentation did not say how to play or what to do in the map (in fact it is the same queston only in a different way xd) ! Dernière modification le 1498909980000 |
Eironeia « Sénateur » 1498910280000
| 0 | ||
Currently have 17/18 Aaah I'm scared of the LUA |
Sebafrancuz « Consul » 1498910580000
| 0 | ||
Yenlui87 a dit : Small tip: if not ...isVampire then changeToVampire end |
Perlchen « Consul » 1498912380000
| 0 | ||
Well I got this: But I honestly have no idea how this is supposed to work and I don't understand anything about Lua, lol. Rip. |
Peanut_butter « Consul » 1498913340000
| 1 | ||
Perlchen a dit : The only Lua you need to know is how the word order looks like. First, you need to put the words in order by clicking them and switching them up. You can only switch the words in one line (row). You can find the correct order in other comments. It takes around 10-15 seconds to do if you are concentrating. After you got the word order, you have to put the lines in order by clicking the numbers next to the lines. Each event (row) there has an effect on your mouse. It's pretty easy to figure out. For example the tfm.exec.killPlayer kills your player, then you can use the tfm.exec.respawnPlayer to respawn your player. It is important to know that the "function" event checks if something has happened before, so it always comes after you did something. Example: tfm.exec.killPlayer("Name") - kills you function eventPlayerKill("Name") - checks if you have been killed The "if, then" event checks if something has happened, and does something if it did (or did not). If not tfm.get.room.playerList["Name"].isVampire then - If you are not a vampire then something will happen to you (that you need to add in the next row) If tfm.get.room.playerList["Name"].gotCheese then - If you have cheese then something will happen to you (that you need to add in the next row) The others are pretty easy to figure out what they do. Good luck! |
Whitey « Citoyen » 1498914060000
| 0 | ||
What code it must be? |
Surgeon « Citoyen » 1498914600000
| 0 | ||
Wait I'm so confused on how to figure it out Like how to move the coding |
Peanut_butter « Consul » 1498915020000
| 0 | ||
Just click the numbers next to the lines (1-11) |
Eironeia « Sénateur » 1498915200000
| 0 | ||
This is confusing. |
Perlchen « Consul » 1498918800000
| 1 | ||
I tried the code Fire wrote a few posts earlier (this one) but it didn't work. Sooo I guess it's something else for the Vampire one. Would have been too easy, aww. |