Re: [SMAUG] If Check
Re: [SMAUG] If Check
I know there is an ifcheck for clan. If clan($n) == <clan name> I believe is the syntax. Anyway, its under help ifchecks. You just set the prog on the mob to be the clan you don't want it to attack and then in the else, have it attack $n. I.E
if clan($n) == Crimson Circle
else
murder $n
endif
At least, that's how I set it up on a game. If they're in Crimson Circle, the mob won't attack, if they aren't, the mob will begin attack. I'd suggest an entry prog for it personally. There are other ways to set it up, but, that's a basic answer. Hope it helps.
DreamWryter
In a message dated 12/27/02 2:31:20 PM Central Standard Time, ancient_lores@yahoo.co.uk writes:
Also does anyone know of a way you can set mobs to be a certain clan and
will attack other clans on sight. So as to allow clans to take over areas
etc.
Khaine - Ancient lores MUD