{{tag>motioncapture democap behavior}} [[:start|Start Page]] >> [[main|DEMoCap: Drag[en]gine Motion Capture]] >> [[democap:elementclasses|XML Element Classes]] >> ** ECBShowInteractionBubble ** ====== ECBShowInteractionBubble ====== Behavior showing interaction bubble. ====== Instance Counts ====== This behavior can be used only once on an element. ====== Element Class Properties ====== Element class properties have the prefix ''showInteractionBubble.''. ===== buttons ===== List of buttons to show in the interaction bubble. * Full name: ''showInteractionBubble.buttons'' * Type: string * Default Value: empty list * Possible values: ^Name^Description^ |''duplicate''|Duplicate object| |''remove''|Remove object.| |''ghost''|Temporarily replace textures with ghost texture.| |''record''|Toggle if object can be recorded.| |''teleport''|Teleport actor to this element.| |''hide''|Hide object. do not use unless another behavior can show it again.| |''capture''|Toggle if actor can be captured. for mocap actor use only.| * Example (*.deeclass) duplicate ghost ===== class ===== Name of element class to use for the bubble. * Full name: ''showInteractionBubble.class'' * Type: string * Default Value: ''InteractionBubble'' * Example (*.deeclass) InteractionBubble ====== Events ====== This behavior has no events. ====== Conversation Commands ====== This behavior adds no conversation commands. ====== Conversation Conditions ====== This behavior adds no conversation conditions. ====== Behavior Tree Actions ====== This behavior adds no behavior tree actions. ====== Behavior Tree Conditions ====== This behavior adds no behavior tree conditions. ====== Required Behaviors ====== This behavior requires no other behaviors. ====== Optional Behaviors ====== This behavior does not support optional behaviors. ====== API Documentation ====== Since DEMoCap Version ''1.3'' ====== Use Cases ====== * Show interaction bubble. ====== Element Class Example ====== class MyElement extends BehaviorElementClass public var ECBShowInteractionBubble showInteractionBubble func new() showInteractionBubble = ECBShowInteractionBubble.new(this) end end ====== Behavior Factory ====== Using element class supporting adding behaviors the behavior can be added like this (again create an example which creates a valid element class): button_identifier InteractionBubble ====== Live Examples ======