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:
Aaron Kimbrell
2026-09-30 09:59:55 -05:00
parent 897827dcd9
commit e9fe09ce9c

View File

@@ -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.
*