Lumberyard
Legacy Reference

Assigning Fragment Tags

Tags are added to fragments to limit which fragments can get selected. For example, a "tired" tag can be assigned to a fragment so it only gets selected when the character is tired. Or for example, other fragments can be assigned "kneeling" or "standing" tags to create different "stance" variations for the same animation.

For this example, "stance" is considered a tag group. Some tags are inside tag groups, some other tags, like "tired", are not. Putting tags in a group ensures sure you can only select one of the tags in the group at the same time. So a character cannot be both "standing" and "kneeling" at the same time for example, but can be both "kneeling" and "tired". The various tags within a tag group are called tag options.

The order in which the fragments are listed in the Fragments browser reflects the order in which they are selected. If there are multiple equivalent matches, the first match in the list is selected. For example, you might have a tag called "tired" and a tag called "scared." You have one fragment tagged "tired" and another fragment tagged "scared." The game looks for a fragment for a character that is both "tired" and "scared." If "tired" and "scared" have the same priority, it is undefined which fragment is chosen, but the Mannequin Editor shows you the fragments in the selection order.