area
arena
Enter()
if(istype(src,/mob/char))
return 0
if(istype(src,/obj/puck))
return 0
but when the puck hits the wall the first time it stops calling the bump() proc when it hits something. if someone could help I would appreciate it.
Canar
ID:149298
![]() May 30 2002, 12:09 pm
|
|
I am having just a little more trouble with hockey. I have the arena surrounded by an area that makes it so that players and the puck cannot leave the arena. the code looks like this...
area but when the puck hits the wall the first time it stops calling the bump() proc when it hits something. if someone could help I would appreciate it. Canar |
![]() May 30 2002, 12:14 pm
|
|
Using src in /area/Enter() is refering to the area itself. What you want to be refering to is the variable contained in area/Enter(O), and check to see what type O is.
|