Help With A Curing System Problem
Posted: Sat Nov 21, 2009 8:28 pm
I know that it's a vague title, but it's the best I could come up with... Feel free, admins, to change it to something more appropriate.
Anyhow, my question. Within Lusternia, there's an affliction called "Confusion", which sometimes prevents commands that you send from being done, because, well, you're too confused to do it. This is easily cured by eating Pennyroyal. Now, because of the nature of "Confusion", sometimes when I go to remove the Pennyroyal from my Rift, or when I go to eat it, the command doesn't fire because, again, I'm "too confused" to do it.
I've been looking through the Official Lusternia forums, and I came across http://forums.lusternia.com/index.php?showtopic=1445, which is a sort of guide on how to build a curing system. The language is written in ZScript, but it's fairly easy to follow regardless.
Now, scrolling down, we see an alias that this person made regarding eating Pennyroyal. It basically states:
How do I go about setting up a script to do exactly that?
Anyhow, my question. Within Lusternia, there's an affliction called "Confusion", which sometimes prevents commands that you send from being done, because, well, you're too confused to do it. This is easily cured by eating Pennyroyal. Now, because of the nature of "Confusion", sometimes when I go to remove the Pennyroyal from my Rift, or when I go to eat it, the command doesn't fire because, again, I'm "too confused" to do it.
I've been looking through the Official Lusternia forums, and I came across http://forums.lusternia.com/index.php?showtopic=1445, which is a sort of guide on how to build a curing system. The language is written in ZScript, but it's fairly easy to follow regardless.
Now, scrolling down, we see an alias that this person made regarding eating Pennyroyal. It basically states:
- Take the herb from your rift and eat it.
- Set the herbbalance variable to 0.5
- Fire off a timer, that after 1 second, if herbbalance == 0.5 then set herbbalance =1
How do I go about setting up a script to do exactly that?