ID:261401
Feb 20 2002, 5:53 pm
|
|
i want to make so if a guy already has an overlay he can't buy the same on again.
|
Copyright © 2024 BYOND Software.
All rights reserved.
mob/var/Overlayon
so whenever you do something like mob/verb/powerup and it gives you the aura overlay when it's going through the verb when it gets to the point where it puts the overlay on the mob put mob.Overlayon=1 right after it
then when you want to turn it off you have a verb that puts the mobs Overlayon=0.
to make it check to see if an overlay is on is simple now you just put if(mob.Overlayon==1) return wherever you need it :)
I hope this helps :)