mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
feat(scripts): hooks for a platform arriving at its desired waypoint and at an end of its path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -297,6 +297,16 @@ namespace CppScripts {
|
||||
*/
|
||||
virtual void OnWaypointReached(Entity* self, uint32_t waypointIndex) {};
|
||||
|
||||
/**
|
||||
* Invoked when a moving platform stops at the waypoint it was sent to (the client's ArrivedAtDesiredWaypoint).
|
||||
*/
|
||||
virtual void OnArrivedAtDesiredWaypoint(Entity* self, uint32_t waypointIndex) {};
|
||||
|
||||
/**
|
||||
* Invoked when a moving platform reaches the first or last waypoint of its path (PlatformAtLastWaypoint).
|
||||
*/
|
||||
virtual void OnPlatformAtLastWaypoint(Entity* self) {};
|
||||
|
||||
/**
|
||||
* Invoked when a player fired a skill event on self.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user