[Tutorial] Usando Emociones |
![]() ![]() « Citoyen » 1388108640000
| 0 | ||
Bueno, yo vine a hacer un tutorial para el uso de la emoción para algo. como algunas funciones que ta amarilla ![]() function eventEmotePlayed(playerName,emote) if emote==0 then tfm.exec.giveCheese(playerName) end end ![]() [•]Cambie a lo que la emoción que desea 0 - Danza 1 - Risa 2 - Llanto 3 - Beso 4 - Rabia 5 - Palmas 6 - Dormir 7 - Mano en la face (facepalm) 8 - Sentar 9 - Confeti ![]() [•] Ahora cambie a la función que se desea. tfm.exec.giveMeep(playerName) - El ratón recibirá MEEP. tfm.exec.killPlayer(playerName) - El ratón morirán. tfm.exec.playerVictory(playerName) - El ratón recibirá la victoria. tfm.exec.setShaman(playerName) - Se convierte en Chamán. tfm.exec.setVampirePlayer(playerName) - El Ratón se convierte en vampiro. tfm.exec.snow(999) - Hacer nieve. ui.addPopup(0, 0, "Transformice Español ", playerName, 300, 175, 200, true) - Hacer ui.addPopup. ![]() Buenas suerte en su minijuego. |
![]() « Citoyen » 1388118900000
| 0 | ||
Se puede hacer cualquier funcion no solamente esas |
![]() ![]() « Citoyen » 1388150880000
| 0 | ||
y donde por no el nmumero osea la emocion???? |
0 | ||
Ezequielprop a dit : Lo dice ahí. |
![]() ![]() « Citoyen » 1388229840000
| 0 | ||
Ezequielprop a dit : Un Ejemplo: function eventEmotePlayed(playerName,emote) if emote==9 then tfm.exec.setShaman(playerName) end end Se convierte en Chamán. |