From e9fe09ce9c79b28fb6531c2ef24f56a6c1a84126 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Wed, 30 Sep 2026 09:59:55 -0500 Subject: [PATCH] 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 --- dScripts/CppScripts.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dScripts/CppScripts.h b/dScripts/CppScripts.h index b45e5d730..ec326f71e 100644 --- a/dScripts/CppScripts.h +++ b/dScripts/CppScripts.h @@ -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. *