ID:178261
 
hmm, Ive been trying, code be dyin(sp?), but how exactly would i make the water pull me where-ever it is? I need to know because I made a slide for "Branks' Water Park" in my chatroom...Here:

turf
water
icon = 'tiles.dmi'
icon_state = "water"
Give water a direction. Then, when you've Entered(), have the usr take a step in that direciton (look up the step procs in the F1 menu)
http://www.byond.com/hub/Sariat/BYONDcodeclient


Look for the Motion demo, its free FYI.
Branks wrote:
hmm, Ive been trying, code be dyin(sp?), but how exactly would i make the water pull me where-ever it is? I need to know because I made a slide for "Branks' Water Park" in my chatroom...Here:

turf
water
icon = 'tiles.dmi'
icon_state = "water"



For a basic way, do this.

mob/var/paralyze = 0
mob/Move()
if(usr.paralyze == 1)
return
else
..()

turf
water
icon = 'tiles.dmi'
icon_state = "water"
Entered()
usr << "The water sweeps you down stream.."
usr.paralyze = 1
usr.x-=1
sleep(3)
usr.x-=1
sleep(3)
usr.x-=1
usr << "
you wash up on shore."
usr.paralyze = 0

- RaeKwon
In response to Sariat
Sariat wrote:
http://www.byond.com/hub/Sariat/BYONDcodeclient
Look for the Motion demo, its free FYI.

I gotta second that - this library should be exactly what you are looking for...