28.12.2010, 07:03
Okay then Lorenc_, explain to my how you will make it do something AS SOON as the person gets into the water with that function? You'd have to add a timer or use OnPlayerUpdate and then add callbacks, just as I did with this script.
This is why I made this script, because it has callbacks, and not just a function.
If you already have the callbacks in your script, then the function is more efficient because it just reads a static variable instead of checking the whole animations again.
This is why I made this script, because it has callbacks, and not just a function.
If you already have the callbacks in your script, then the function is more efficient because it just reads a static variable instead of checking the whole animations again.