Quote:
|
Originally Posted by RavenofEarth
O_o Uhh, I still don't see what that's supposed to be telling me about the event block O_o
|
The problem is that everything after the 'weaponfired' block in your script is not in an event block, so Graal is not sure when it is supposed to check if your gani is set to anzell_flute or if a certain key is being pressed; maybe it should check when it detects that any key has been pressed, or maybe it should check when you type some words in the chat box. Perhaps you want it to check if the 'up' key is pressed when the United States decides to adopt Graal's Terms of Service as its new constitution; nobody knows when it should check, because you have not specified any
event that tells it when.
Events are things that can happen, like the weapon being fired (weaponfired), the npc being touched (playertouchsme), or a timeout occuring (you could set timeout = .05, and .05 seconds later the "timeout" event occurs); there are many others. In your case, you probably want to use the 'timeout' or 'keypressed' events (keypressed might only work in v4 for what you want it to do, I don't think v2 will call keypressed for the arrow keys).