Bỏ qua để đến nội dung

Set the Group Mode

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

Group Mode represents a behavior that determines how the value of a member is assigned to the group value.

Setting the Group Mode can be done by setting the mode field of the Group Holder settings:

holders:
jump_group:
top: jump
<other group settings>
mode: max

The available values for mode are:

  • default: The value of any member of the group will be assigned to the group.
  • owner: Only the value of the owner will be assigned to the group.
  • min: The value of the member will be assigned to the group only if it is less than the current group value.
  • max: The value of the member will be assigned to the group only if it is greater than the current group value.
  • total: The value of the group will be the sum of the values of all members.