Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
Hey i want to know how scripters call their made callback
Ex.
OnPlayerEnterWater - If player is in water this function is called
How can i call my public callback? I'm planning to create a include.
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
No, i mean without timer, they don't use timer they just call it
Ex.
When i'm in water OnPlayerEnterWater is called but maybe, maybe they use one?
Posts: 73
Threads: 2
Joined: Apr 2012
Reputation:
0
Without a timer
=
Make your callback a stock, and call it w/e you like.
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
Thanks both of you but i cannot rep you for now i will say 'Thank you'
Posts: 485
Threads: 9
Joined: May 2011
Reputation:
0
It is not possible to have a callback be called without doing it yourself, IE setting a check in a timer or using Onplayerupdate
Posts: 929
Threads: 17
Joined: Mar 2012
Reputation:
0
theirs also
OnPlayerStateChange
and i think they check for water by checking the animations the player currently has,