The script variable that holds the custom table (see CustomTableGet).
CustomTableHasKeyCondition
Inheritance 1 ancestor · 10 siblings
- IScriptCondition
- AndScriptCondition (removed in patch 14.24)
- ComparisonScriptCondition
- CustomTableHasKeyConditioncurrent
- EmoteIsCondition
- EntityScriptCondition5
- IsBitSetCondition
- IsNilCondition
- NotScriptCondition (removed in patch 14.24)
- OrScriptCondition (removed in patch 14.24)
- RandomChanceScriptCondition
- TableValueExistsScriptCondition
Class Documentation
Edit documentationA condition that returns true if a custom table contains a
key. CustomTable reads the table from a script variable, and Key produces the key to
look for.
The kind of the key selects the lookup:
| Key kind | Lookup |
|---|---|
| Int, EntityTag | Integer key |
| Float | Integer key, after truncation toward zero |
| String, Int64 | Hashed key. A String key is hashed in lowercase, so the lookup ignores case. |
| Any other kind | Key of that kind |
If Key produces a value that cannot be a table key, the condition records a script
error and returns false.
Properties
The key to look for.