ILogicDriverSourceGet
15.12 Interface
Inheritance 5 descendants
- ILogicDriverSourceGetcurrent
Class Documentation
Edit documentationA getter that produces an object that a logic driver can
be evaluated for (an ILogicDriverSource).
ConceptBlockBase uses it in ConceptObject to pick the
object whose concept value the block writes or reads.
The entity getters (EntityReferenceGet, EntityTableGet) produce an entity id and return the game entity that has that id. The unit getter (UnitTableGet) produces a unit id and returns the unit with that id. If no live entity or unit has the id, the getter fails. NilEntityGet and NilUnitGet always fail here.
If the getter fails or returns an object that is not a driver source, the concept block raises a script error and does nothing. See IScriptValueGet for script errors.