Unknown2006-04-30 19:14:55
Yeah, I'm not too good at scripting and this question is probably fairly easy.
Well, anyways I'm trying to get my prone variable "affliction_fallen" to be reset to 0 when I stand up, how would I set this up using a trigger?
Well, anyways I'm trying to get my prone variable "affliction_fallen" to be reset to 0 when I stand up, how would I set this up using a trigger?
Tavon2006-04-30 19:29:40
The exact setup depends on your client. Basically, you take the text of standing, make that into a trigger's matching pattern, and have the action being set affliction_fallen to 0.
I know I basically said what you said, but that's all I can say without knowing what client.
I know I basically said what you said, but that's all I can say without knowing what client.
Unknown2006-04-30 19:29:42
What client?
Zmud, you would enter this into the command line:
#trigger {***MESSAGE YOU GET WHEN YOU STAND UP***} {#var affliction_fallen 0}
Zmud, you would enter this into the command line:
#trigger {***MESSAGE YOU GET WHEN YOU STAND UP***} {#var affliction_fallen 0}
Unknown2006-04-30 20:39:29
Ah sorry, I'm using MUSH.
Tavon2006-04-30 21:13:07
match="STAND UP MESSAGE HERE"
send_to="9"
sequence="100"
variable="affliction_fallen"
>
Copy that whole thing, open up the triggers window, and press paste in the lower right hand corner. Take a look at it, it should be pretty self-explanitory.
Unknown2006-04-30 21:24:21
Heh thanks for your help.