-
Notifications
You must be signed in to change notification settings - Fork 0
Functions
BenevolusGoat edited this page Jan 27, 2025
·
1 revision
All functions available under the library to be used outside the library itself
Returns a table of data on all custom status effects on the entity. Can potentially be no effects.
-
ent: The entity meant to house the data
Returns a table of data for a specific status effect if that effect is currently active on that entity. Returns nil otherwise.
-
ent: The entity meant to house the data -
statusFlag: The BitFlag of the status effect. Use theStatusEffectLibrary.StatusFlagenumeration table for convenience.
Removes a status effect from an entity. Returns true if removed successfully.
-
ent: The entity to remove the effect from -
statusFlag: The BitFlag of the status effect. Use theStatusEffectLibrary.StatusFlagenumeration table for convenience.
Returns true if the entity has the provided status effect. false otherwise.
-
ent: The entity to check against -
statusFlag: The BitFlag of the status effect. Use theStatusEffectLibrary.StatusFlagenumeration table for convenience.
Removes all status effects from the entity, if any are present.
-
ent: The entity to remove all effects from