area
Safe
icon='turfs.dmi'
icon_state="Safe"
name=""
density=0
Enter(mob)
usr.safe=1
Exit(mob)
usr.safe=0
I thought I could be slick and make it easy but I guess not.....Another way?
ID:147019
Oct 31 2004, 7:10 am
|
|
area I thought I could be slick and make it easy but I guess not.....Another way? |
In response to Kholintian Destroying Army
|
|
IT is meant so when the mob enters that var is given and wen that var is True he can't attack.Is it is false then he can.
-----------EDIT-------- Also I jsut get a duplicate definition when I put the "/" in, |
Enter() and Exit() are used to determine whether something is allowed to enter or exit the location. You return true if it is allowed, false (or nothing) if it isn't. What you're doing there is not allowing anything to enter or exit that area.
You want to use Entered() and Exited() in this case. These are only called after something sucessfully enters or exits the location in question. |
CodingSkillz2 wrote:
> area I thought I could be slick and make it easy but I guess not.....Another way?Lemme see.. area try that, if it doesnt work then try: area otherwise, its probably just an error in your fight verb when it checks to see if they are safe or not. |
In response to Rurouni Dragon
|
|
It didn't work soo...
mob |
In response to CodingSkillz2
|
|
hmm.... try this
mob |
In response to Rurouni Dragon
|
|
oh yea, drop the safe var if that works
|
Enter(/mob)
usr.safe=1
Exit(/mob)
usr.safe=0
Maybe that?
Anyway, what's wrong with it?
What's it meant to do?
What is it doing?
What is it not doing?