ID:267567
Jul 7 2003, 2:55 am
|
|
Is there a way to call the Entered proc every time you step on a turf or area?
|
In response to Airjoe
|
|
tisk, tisk! No DM tags!
turf/myturf/Entered() |
In response to Dragon of Ice
|
|
Er, I dont tink the entered proc gets called every time it is stepped on . It gets called when enter the same turf or area once.
|
In response to Unknown Person
|
|
entered is always called. It happens after enter. Entered means you have succesfully entered the turf, now what?
Enter() checks if you can enter or not. Airjoe P.S. Im almost 100% sure of that. Im sure someone can follow me up on this, |
In response to Airjoe
|
|
Yes, it is... If you want a full explanation though, here it is.
When you move your character with the Move() proc, which is the default movement, Enter() is called. What enter checks is if you can sucsefully enter the turf's contents. If there is no dense objects in the turf, the Move() proc returns true and your character sucsesfully moves. Then directely after, if the Enter() proc returns true, the Entered() proc is called. Note though, that setting an objs location directly using locate() will not call Enter(). Enter() is only called when an obj moves using Move(). Resonating Light |
Entered()
//stuff here
Like that? The enterd proc is always called, os so I thought. If you want all turfs/areas to have the same entered proc, just use what I just showed you.
Airjoe