Again I have a problem with LUA . I have the fast zombie LUA . Now I would like that when the zombie I was killed a text for about 1 second displays get . I have now incorporated into the .exit function . With PromptDuration ( " xxxxx " , 1000) is the prima .
function ai_fastzombie_exit(e)
PromptDuration("hfhrfgegghgh",1000)
PlayCharacterSound(e,"onDeath")
CollisionOff(e)
end
However, the text will be displayed just below the middle . Now I have tried it with text ( x , y ,, size "text " ) . That did not work . Then I still tried to start timer and getTimer . But that also did not go .
if var==1 then
Text(x,y,1,"text")
StartTimer(e)
end
if GetTimer(e)>=1000 then
var=0
end
Can someone help me?