TW
talkaction

Algumas Talkactions Legais :p

Por Twilight, 27 de mar. de 2008 em Actions e Talkactions

script
13
4.7k
TwilightT
27 de março de 2008 às 20:56

Ola,

 

Outro dia estava pensando em talkactions e resolvi fazer uma para parecer um emoticon e outra para "falsificar" um dano.

 

Para começar abra a pasta data/talkactions/scripts, copie qualquer arquivo, renomeie para "feliz", apague tudo dentro e copie isso:

 

function onSay(cid, words, param)

emoticon = math.random(1,5)

playerpos = getPlayerPosition(cid)

 

if emoticon == 1 then

doSendAnimatedText(getPlayerPosition(cid), ":D", TEXTCOLOR_BLUE)

elseif emoticon == 2 then

doSendAnimatedText(getPlayerPosition(cid), ":)", TEXTCOLOR_RED)

elseif emoticon == 3 then

doSendAnimatedText(getPlayerPosition(cid), "=]", TEXTCOLOR_BLACK)

elseif emoticon == 4 then

doSendAnimatedText(getPlayerPosition(cid), ">:)", TEXTCOLOR_LIGHTGREEN)

elseif emoticon == 5 then

doSendAnimatedText(getPlayerPosition(cid), ":]", TEXTCOLOR_ORANGE)

return 0

end

return 1

end

 

agora copie outro arquivo e renomeie para "dano", apague tudo e copie isso:

 

function onSay(cid, words, param)

dano = math.random(1,5)

playerpos = getPlayerPosition(cid)

 

if dano == 1 then

doSendAnimatedText(getPlayerPosition(cid), "150", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 2 then

doSendAnimatedText(getPlayerPosition(cid), "134", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 3 then

doSendAnimatedText(getPlayerPosition(cid), "200", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 4 then

doSendAnimatedText(getPlayerPosition(cid), "1", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 5 then

doSendAnimatedText(getPlayerPosition(cid), "375", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 5 then

doSendAnimatedText(getPlayerPosition(cid), "264", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 5 then

doSendAnimatedText(getPlayerPosition(cid), "761", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 5 then

doSendAnimatedText(getPlayerPosition(cid), "4", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 5 then

doSendAnimatedText(getPlayerPosition(cid), "84", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 5 then

doSendAnimatedText(getPlayerPosition(cid), "6", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

elseif dano == 5 then

doSendAnimatedText(getPlayerPosition(cid), "450", TEXTCOLOR_RED)

doSendMagicEffect(getPlayerPosition(cid), CONST_ME_DRAWBLOOD)

return 0

end

return 1

end

 

agora no talkactions.xml coloke isso

<talkaction words="!dano" script="dano.lua" />

<talkaction words="!emoticon" script="feliz.lua"/>

 

É meio inutil mas é divertido :p

 

Não sei por que mas nao funciona no Aries 4.5 só até o 4.0 =/

 

 

Screenshots:

 

danotalkzj8.th.png

danotalkzj8.th.png

 

emoticontalkkb2.th.png

emoticontalkkb2.th.png

 

Creditos:

70% Conde Sapo por fazer a talkaction do lol colorido com random

30% eu por ter modificado a talkaction

 

Comentem, xinguem, se gostarem >copias com creditos<

 

:p

Bye.

Editado Março 27 por Twilight

27 de março de 2008 às 21:29

Ficou legal... bem pensado os negocio do dano.

nota: 8

 

 

Atenciosamente,

Maximus

gabriferG
28 de março de 2008 às 12:51

Tutorial legal!

As talkactions são bem divertidas!

APROVADO!

Abraços,

Escalador.

XKronusXX
28 de março de 2008 às 14:13

É divertido sim, mas é mais pra brincar mesmo.

 

Mas como voce mesmo disse, não é muito útil. Sei la, mas continua inovando :)

darkmale157D
28 de março de 2008 às 20:59

Funciona Mesmo, kkkkkk como XKronusX é Verdade é só para Brincar, Hahuahau Dahora Falcificar Dano

TprocheiraT
28 de março de 2008 às 23:20

iaauahuaua. Fico legal isso. Vamo mudar para fazer mais tipos de dano? Tipo, dano energy, dano earth, etc. ^^ Ficaria legal.

FireBlastF
28 de março de 2008 às 23:36

Bem interessante...

 

Gostei destas Talkactions. Vou experimentar aqui. :p

 

Valeu!

Darllan0D
29 de março de 2008 às 00:14

Belo Tutorial

embora alguns nao saibam para que serve o talkaction ta ai

ele tbm serve tpw para criar uma quest ou um secret room

a exemplo o cara fala SAI PAREDE VAGABUNDA

ai a parede somi ^^

TonynhT
29 de março de 2008 às 06:49

Muito bom, Gostei :smile_positivo:

1 mês depois...
DarksajD
11 de abril de 2008 às 13:34

legal...

vo textar no meu ot :D

rocketsR
11 de abril de 2008 às 19:18

Mega legal, Parabens msm em.

Continue assim

3 meses depois...
vitimanV
27 de julho de 2008 às 16:11

Gostei de Algumas :p

6 meses depois...
cpsfuteC
09 de janeiro de 2009 às 12:29

Kkkkkkk Rox Essa Talkaction

Para Se Divertir :party: