UnitTableGet
Inheritance 4 ancestors · 30 siblings
- IScriptValueGet
- ScriptTableGet&IUnitGet&ILogicDriverSourceGet
- 0x257477d2
- 0x47f638a9 (removed in patch 15.8)
- BoolTableGet
- ColorTableGet
- CustomTableGet
- DataObjectBoolTableGet
- DataObjectFloatTableGet
- DataObjectIntTableGet
- DataObjectStringTableGet
- DataObjectValueTableGet
- EntityGroupTableGet (removed in patch 15.17)
- EntityReferenceGet
- EntityTableGet
- EntityTagTableGet
- FloatCast (removed in patch 13.22)
- FloatOffsetTableGet
- FloatTableGet
- FunctionTableGet
- IntCast (removed in patch 14.24)
- IntOffsetTableGet
- IntTableGet
- NilEntityGet
- NilUnitGet
- PathTableGet
- ResourceKeyValueTableGet
- SegmentTableGet
- StringCast
- StringTableGet
- UiElementITableGet
- UnitTableGetcurrent
- VectorTableGet
- ScriptTableGet&IUnitGet&ILogicDriverSourceGet
Class Documentation
Edit documentationA getter that reads a script variable that holds a unit id. A Unit value is returned
as it is. An Entity value is accepted if that entity has a unit, and the getter then
returns the id of that unit. Any other kind, or a missing variable, fails with a
script error. See ScriptTableGet for Table and Var.
Read as a driver source (see ILogicDriverSourceGet), the getter returns the unit with that id, and fails if no unit has the id.