mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 19:03:43 +00:00
The subcomponent comes from the platformIsMover, platformIsSimpleMover and platformIsRotater settings; with none set, a platform without a registry component is a mover and one with a registry component a simple mover (also when it has an attached path, so the registry ID is passed then too). All flags set false means no subcomponent. A simple mover reads its MovingPlatforms row and the platformMove* settings, is always constructed with its starting point and state as live did, and travels between its start and start + platformMove in platformMoveTime. A rotater is written as type 6 with a mover's data. On arrival platforms fire OnWaypointReached, then OnArrivedAtDesiredWaypoint at the waypoint they were sent to and OnPlatformAtLastWaypoint at an end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
76 KiB
76 KiB