Lumberyard
User Guide (Version 1.15)

Reverting and Forcing Overrides

When you change any part of a slice instance, such as adding a component, removing a component, or modifying a component property, you create an override. Overrides to component properties are highlighted with bold orange text in the Entity Inspector. If you do not save the override, that property retains its override and does not inherit changes from the source slice.

Reverting Property Overrides

You can discard your modification so that the component property once again inherits changes from the source slice.

To revert property overrides

  1. Right-click the property that you modified.

  2. Choose Revert property override. The component property inherits changes from the source slice.

Reverting All Overrides to a Component

If you make multiple property modifications to a component in a slice, you can revert all overrides at once.

To revert all overrides on a component in a slice

  1. In the Entity Inspector, right-click the component header.

  2. Choose Revert component overrides.

Reverting All Overrides to an Entity

You can also revert all overrides to an entity in a slice. This is useful if you want to revert all modifications that you made to an entity, including adding or removing components and changing component properties.

To revert all overrides to an entity in a slice

  1. In the Entity Outliner, right-click the entity header.

  2. Choose Revert overrides.

Note

Reverting overrides to a parent entity does not revert overrides to the child entities; it only affects modifications that you made directly to the parent entity.

Forcing a Property Override

Unmodified properties inherit changes made to the source slice. If you don't want a property to inherit changes from the source slice, you can create an override to the property.

To force a property override

  1. In the Entity Inspector, right-click an unchanged component property.

  2. Choose Force property override.

    The property override appears orange to indicate that it no longer inherits modifications from the slice.