|Default|'''T'''|TypeAdv0=true| The default value to drive <code>Target</code> with on the user's local machine if they don't have an override in the list of <code>_overrides</code>.
|Default|'''T'''|TypeAdv0=true| The default value to drive <code>Target</code> with on the user's local machine if they don't have an override in the list of <code>_overrides</code>.
|CreateOverrideOnWrite|Bool| Whether changes to <code>Target</code> creates a new override or updates the overrides value for that user.
|CreateOverrideOnWrite|Bool| Whether changes to <code>Target</code> creates a new override or updates the overrides value for that user.
|PersistentOverrides|Bool| Whether the <code>_overrides</code> list contents are saved when this component is saved.
|PersistentOverrides|Bool| Whether the <code>_overrides</code> list contents are saved when this component is saved.
|_overrides|{{RootFieldType|SyncBag`1|[[Type:Override|Override]]<T>}}|TypeAdv3=true| A list of overrides for different users.
|_overrides|{{RootFieldType|SyncBag`1|[[Type:Override|Override]]<T>}}|TypeAdv3=true| A list of overrides for different users.
Line 16:
Line 16:
|Sum|{{RootFieldType|RawOutput`1|T}}|TypeAdv7=true| The value for if of all the <code>_overrides</code> were added together for currently in session users. If a user doesnt have an entry, they are considered to have an entry of <code>Default</code>.
|Sum|{{RootFieldType|RawOutput`1|T}}|TypeAdv7=true| The value for if of all the <code>_overrides</code> were added together for currently in session users. If a user doesnt have an entry, they are considered to have an entry of <code>Default</code>.
|Average|{{RootFieldType|RawOutput`1|T}}|TypeAdv8=true| The average value of all the <code>_overrides</code> for currently in session users. If a user doesnt have an entry, they are considered to have an entry of <code>Default</code>.
|Average|{{RootFieldType|RawOutput`1|T}}|TypeAdv8=true| The average value of all the <code>_overrides</code> for currently in session users. If a user doesnt have an entry, they are considered to have an entry of <code>Default</code>.
|ExcludeHeadless|Bool|
}}
}}
Latest revision as of 06:03, 17 March 2025
Component image
Numeric User Override Gather`1 component as seen in the Scene Inspector
The NumericOverrideGather component acts the same as a Component:ValueUserOverride`1 with the key difference being it can get the average, minimum, maximum, and sum of all the values users picked that are still in the session.
The minimum value of all the _overrides for currently in session users. If a user doesnt have an entry, they are considered to have an entry of Default.
The maximum value of all the _overrides for currently in session users. If a user doesnt have an entry, they are considered to have an entry of Default.
The value for if of all the _overrides were added together for currently in session users. If a user doesnt have an entry, they are considered to have an entry of Default.
The average value of all the _overrides for currently in session users. If a user doesnt have an entry, they are considered to have an entry of Default.
Can be used to check if all users are using the same setting (like saying they're ready for a game round to start) or check the average of what people say the number of jellybeans in a jar is (so that someone can guess the average and get the closest to the answer)
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.