spindash()
flick("spindash1",usr)
usr.icon_state = "spindash2"
spawn(10)
walk(src,EAST)
sleep(5)
walk(src,0)
ID:147358
Jun 22 2004, 7:28 am
|
|
The following code snippet shows the tested mob charging up as an animation flick, then changes the icon state altogether. It oes start walking, however, it doesn't stop. Can anyone tell me why?
|
Jun 22 2004, 8:18 am
|
|
You need to use walk(Ref,0) to tell something to stop walk()ing once it starts.
|
In response to Foomer
|
|
Foomer wrote:
You need to use walk(Ref,0) to tell something to stop walk()ing once it starts. isn't that what I did? The last line of code shows walk(src,0) |
Delita12345 wrote:
> spindash() Change the spawn(10) to sleep(10), or indent everything under it one more level so that the rest of the proc is spawned instead of just the following line. |