Dayz Standalone: Scripting E4 "override function, static variables, print messages to chat"
Sneaky Kitty Gaming
In this video we will be going over how to override a function/method, in our case it is the TickScheduler method. We will use this to give an example on how that method works and just how fast it actually runs. Then we can get discuss and show how static variables work as they can be very useful as control variables. Once that is covered, I will show you how to control your script inside the TickScheduler function so we will only have the script we want to run once every x amount of seconds. In our case we will print out a message every 5 seconds in the chat that displays the current time in seconds that the server has been up. Something like this can be very useful for things such as a safe zone which will be covered in future videos so it is important that you get a grasp on it now.
Dayz tutorial thread: https://forums.dayz.com/topic/240957-dayz-standalone-scripting-tutorial-series/?tab=comments#comment-2406675 ... https://www.youtube.com/watch?v=uuDq8hjx3_c
93502502 Bytes