ZMud Scripting

by Gwynevere

Back to Mechanic's Corner.

Gwynevere2008-07-15 08:20:03
Alrighty...

What do you use to make it notice that something is NOT displayed... for example... how can you get a script to see when something is NOT in your rift anymore then have it display text like "You need more of this!"??

Edit: NEVERMIND! I figured a way around it. Thanks!
Esano2008-07-15 09:25:10
Because I know how annoying it can be when you go through a thread looking for an answer and find only the question ....

I would use variables, reset them when you check your rift, and tick them off as you find each item. Any items which aren't ticked at the end are the ones you display you need more of.
Gwynevere2008-07-15 11:45:19
Yeah that's actually what I did! Hah! I made an alias that sets ALL of the variables back to 0, then it fills in the ones I actually have after it checks my rift.
Unknown2008-07-15 12:07:48
If you're not using it, I highly recommend using a data record variable for the rift. In the least it makes things less messy in your classes.