OpenAWE-Project / OpenAWE

A reimplementation of Remedy Entertainments Alan Wake Engine, in later iterations known as the Northlight Engine
GNU General Public License v3.0
159 stars 13 forks source link

Implement TeleportToWaypoint script function #34

Open Nostritius opened 1 year ago

Nostritius commented 1 year ago

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.