ID:178136
Jun 15 2002, 4:42 pm
|
|
Ive Posted this before but can anyone help meh?I need something to check if a Ball obj enters a net Turf
|
In response to Thief Jack
|
|
Thief jack wrote:
turf I think that's how it should be done, actually. |
In response to Garthor
|
|
Ahh but your wrong. You checked if the src is a /obj/ball
In the code you presented what's Entered() or the turf is the src. So you should try something like this. turf/bah/Entered(obj/O) if(istype(O,/obj/ball)) well you get the point |
In response to Super16
|
|
Lol, oops, well, what do you expect for 11:30 at night?
|
Net
icon = 'turfs.dmi'
icon_state = "net"
Entered()
if(istype(src,/obj/Ball))
//code here
else
usr.loc=usr.loc