mob
if(loc = locate(x))
stuff
Problem description:
It just gives me an Empty Type Name error. What am I doing wrong?
ID:143080
Dec 25 2007, 7:31 pm
|
|
Code:
mob Problem description: It just gives me an Empty Type Name error. What am I doing wrong? |
In response to Garthor
|
|
What I want is to be able to run some code if someone happens to go into a certain location on the map, e.g. making someone drown if they run into locate(/turf/water).
|
In response to Garthor
|
|
Never mind, figured it out. I remembered the 'enter' proc.
|
In response to Darkmag1c1an11
|
|
Enter() is the wrong proc, here. Use Entered().
|
2) You aren't putting any of this in a proc
3) You haven't actually told us what you want, so all we can do is point out obvious errors.