Well, after checking out my athame object, I threw it and I notice it doesnt move when it hits the bush... the bush is supposed to check if u are a mob, if so return...
Enter(var/a)
if(ismob( a))
return
When making the athame, I did obj/Athame so I got no idea why does it think its a mob...
ID:144548
![]() Oct 31 2006, 3:27 am
|
|
No no no no no no no no no no, you did not fixed the problem at all.
Entered() is called when the atom successfully ENTERED the atom which has Entered()... Enter() is called when an atom is TRYING to ENTER the atom which has Enter() If you bothered to read the DM Reference (F1) for Enter(), you should've noticed what you did wrong: Returns: 1 to permit; 0 to deny. When: Called when an object attempts to enter the contents list. atom/Enter(O) - GhostAnime |
if(ismob( a))
Maybe it will do as you want it to if you use
if(istype(A,/mob))