Start Page » DragonScript Scripting Language » Abstraction Layers: How you want to build your Game » Behavior Elements » ECABehaviorAnchorElement
Attachable behavior element behavior adding anchor element support.
Anchoring elements allows to locate elements in a GameWorld using a unique name set by the mapper. This is useful for game commands send by conversations scripts.
This behavior is similar to ECBehaviorAnchorElement but can be attached if required. This is especially useful in editing worlds to add an anchor to any element without needing to add \ref ECBehaviorAnchorElement to the element class itself.
Upon adding behavior to element the element class properties mentioned below are evaluated if present
This behavior can be used only once on an element.
Element class properties have no prefix.
Sets the anchor name or empty string to not anchor.
This behavior has no events
This behavior requires no other behaviors.
This behavior does not support optional behaviors.
This behavior does not require persistency.
Since DragonScript Module Version 1.31