undo.ReplaceEntity
Description
Replaces any instance of the "from" reference with the "to" reference, in any existing undo block. Returns true if something was replaced
Arguments
Returns
Example
When an entity is ragdolled, this will replace any instances of the entity with it's ragdoll.