Report
s&box Undo System: Per-Player Hierarchical Action Tracking
a9a498c4-7627-43b9-a2cd-1949a0b15ea3
Implementing undo functionality in s&box requires tracking spawned objects and allowing players to revert their actions. Common challenges include:
- Tracking object hierarchy for complex spawns (duplicator)
- Handling object destruction mid-undo
- Persisting undo across player death
- Managing undo stack size and memory
- Network synchronization for multiplayer