Trigger highlighting and echoing

Post Reply
ceff
Posts: 21
Joined: Thu Apr 08, 2010 11:45 pm

Trigger highlighting and echoing

Post by ceff »

okay, so in Achaea, im a blademaster, so i want to see how much my target is bleeding. i have all of the lines ready, but when i put in the script, it does nothing, for example, the line "You see * is not bleeding at all." i make a substring with "is not bleeding at all" with a script that kind of rund like this
deleteline()
bg ("white")
echo ("\n" ..target.."is not bleeding at all ----None----\n")
echo ("\n" ..target.."is not bleeding at all ----None----\n")
echo ("\n" ..target.."is not bleeding at all ----None----\n")
i have all of the other lines set up like this, but with different colors, i know the trigger is working, because i put in a
Send "say testing" script in it, it was working before, and i have checked to see if all of my boxes are checked, and everything is.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Trigger highlighting and echoing

Post by Heiko »

Check the compiler error messages that you get when saving the script (In your case it's a simple spelling error (deleteLine() Lua is case sensitive).
The other place to always check is the runtime errors that usually are caused by badly initialized variables. -> red ! button in the trigger editor

Post Reply