The scripting function TeleportToWaypoint should be easy to implement. In short it requires to take the transform of an object given as caller to be changed to the values of another transform object from a waypoint effectively teleporting the caller object. You can refer to the function_*.cpp files how a scripting function can be implemented.
The scripting function TeleportToWaypoint should be easy to implement. In short it requires to take the transform of an object given as caller to be changed to the values of another transform object from a waypoint effectively teleporting the caller object. You can refer to the function_*.cpp files how a scripting function can be implemented.