Hey all,
Could anyone make me a short and simple script for a part where a player is trying to wade across a quicksand river? Basically, all I want is for the script to check if the player is on ground with terrain tag 2. If so, the player slows down to a speed of 2 ("slower"). But since it's quicksand, I also need to make the player sink if he stands still too long. All I need is for a short transition to play, maybe a SE, and then it'll warp the player to Map ID 99, coordinates (5, 15). So, let's say the player stays still for 50 frames. Too bad for the player, they get teleported back off the side of the river and have to start over.
Don't forget to increase the player's speed back to regular (I think 4) if he's off of terrain tag 2. Thanks to anyone who helps.
EDIT: Oh, forgot to mention. No SDK, please, since all of the scripts I'm using don't use SDK. Credit will be given.
Could anyone make me a short and simple script for a part where a player is trying to wade across a quicksand river? Basically, all I want is for the script to check if the player is on ground with terrain tag 2. If so, the player slows down to a speed of 2 ("slower"). But since it's quicksand, I also need to make the player sink if he stands still too long. All I need is for a short transition to play, maybe a SE, and then it'll warp the player to Map ID 99, coordinates (5, 15). So, let's say the player stays still for 50 frames. Too bad for the player, they get teleported back off the side of the river and have to start over.
Don't forget to increase the player's speed back to regular (I think 4) if he's off of terrain tag 2. Thanks to anyone who helps.
EDIT: Oh, forgot to mention. No SDK, please, since all of the scripts I'm using don't use SDK. Credit will be given.