GridCondition

Description

The Grid Condition is similar to the DistanceCondition and evaluates to true if clients are within specified distance of the object. The Grid Condition is however less accurate but more performant; it is also a . This condition requires you to place a HashGrid on or beneath your NetworkManager object.

Settings

Default Settings

⚙️ Add Order

This controls the order in which this observer condition will be evaluated on an object.

This can be very useful when having observer conditions that are more computationally complex than others, as it allows you to choose the order in which they will be evaluated. Timed conditions are always evaluated after non-timed conditions.

⚙️ Is Constant

Is used to declare whether the condition's settings or data will remain unchanged at runtime. Its purpose is to optimize performance by avoiding unnecessary updates or recalculations for conditions that do not change during execution. It is currently not implemented, but is available for future use and can already be set.

Last updated