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:

  1. Tracking object hierarchy for complex spawns (duplicator)
  2. Handling object destruction mid-undo
  3. Persisting undo across player death
  4. Managing undo stack size and memory
  5. Network synchronization for multiplayer