Files
DarkflameServer/dGame/dComponents/MovementAIComponent.cpp
Aaron Kimbrell 2473d3dccd feat(movement): waypoint actions run like the client's movement AI
A waypoint with any actions holds the object there until ContinueWaypoints;
one without never does. The actions run in order until one pauses (bounce,
stop, delay, emote, femote or an unknown name), the wait counts down, the
rest run, and then ContinueWaypoints sends it on (not at the end of a once
path). Any new GoTo, Stop or path ends the wait, so a later
ContinueWaypoints does nothing.

Handlers added or brought in line: bounce (two waypoints on, arc there,
5 s), stop (StopMoving), groupemote, emote/femote (wait for the animation,
PlayEmote of the number), teleport, pathspeed (below 0 is 0, 0 stands it),
removeNPC (KillOBJS proximity, 1 s), DeleteSelf/removeself (1 s), killself
(silent), spawnOBJ (pathset/SpawnedVar, then silent death), playSound.
Names match exactly, values are read like _wtoi/_wtof, lists split on ,;:

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 05:15:04 -06:00

35 KiB