ReferenceAlias Script: Difference between revisions

Line 90: Line 90:
* ReferenceAliases receive [[ObjectReference Script#Events|events]] from the [[ObjectReference Script|ObjectReference]] they are pointing at.
* ReferenceAliases receive [[ObjectReference Script#Events|events]] from the [[ObjectReference Script|ObjectReference]] they are pointing at.
* ReferenceAliases may also receive [[Actor Script#Events|additional events]] if they are pointing at an [[Actor Script|Actor]].
* ReferenceAliases may also receive [[Actor Script#Events|additional events]] if they are pointing at an [[Actor Script|Actor]].
* ReferenceAliases do not inherit OnUpdate() events from their objectreferences, they must register separately.
* ReferenceAliases do not inherit OnUpdate() events from their objectreferences, they must register separately. This can be circumvented by attaching a script to your alias that extends anything beneath or equivalent toform in class hierarchy IE: Actor, Container, ObjectReference, Form etc
* ReferenceAliases do not inherit ALL Events from either object, or actor.  Registration events, TranslateToEvents, animation registrations etc do not work, or work infrequently.  LOS registrations work fine, with their usual caveats taken into account.
* ReferenceAliases do not inherit ALL Events from either object, or actor.  Registration events, TranslateToEvents, animation registrations etc do not work, or work infrequently.  LOS registrations work fine, with their usual caveats taken into account.


57

edits