User Tools

Site Tools


dragengine:modules:dragonscript:behavior_interactprompt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dragengine:modules:dragonscript:behavior_interactprompt [2020/05/24 14:02] – created dragonlorddragengine:modules:dragonscript:behavior_interactprompt [2024/03/14 16:55] (current) dragonlord
Line 3: Line 3:
 [[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[abstractions#behavior_elementsquick_and_easy_development|Behavior Elements: Quick and Easy Development]] >> **ECBehaviorInteractPrompt** [[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[abstractions#behavior_elementsquick_and_easy_development|Behavior Elements: Quick and Easy Development]] >> **ECBehaviorInteractPrompt**
 </WRAP> </WRAP>
 +
 +  * [[behaviors_use_cases|Behaviors Explained: By Use-Case]]
 +  * [[behaviors_a_to_z|Behaviors Explained: From A to Z]]
  
 ====== ECBehaviorInteractPrompt ====== ====== ECBehaviorInteractPrompt ======
Line 9: Line 12:
 <WRAP center box 450px> <WRAP center box 450px>
 {{youtube>QXytMlYqe5U?medium}} {{youtube>QXytMlYqe5U?medium}}
-<WRAP centeralign>Example usage of outline.* skin texture properties.</WRAP>+<WRAP centeralign>Example usage of interact prompt behavior.</WRAP>
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 105: Line 108:
  
 ====== API Documentation ====== ====== API Documentation ======
-[[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1Scenery_1_1ECBehaviorInteractPrompt.html|ECBehaviorInteractPrompt]].+#@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1ECBehaviorInteractPrompt.html,ECBehaviorInteractPrompt~@#.
  
 Since DragonScript Module Version **1.1** Since DragonScript Module Version **1.1**
Line 119: Line 122:
        
    public func new() super("ExampleObject")    public func new() super("ExampleObject")
-     // create interact prompt behavior and set parameters+     // create interact prompt behavior. shows an icon with the verb "Interact" underneath. 
 +     // the player has to use the input he assigned to the "primaryAction" command. 
 +     // also the prompt is only shown if the player looks at the bone named "bigBadButton".
      interactPrompt = ECBehaviorInteractPrompt.new(this)      interactPrompt = ECBehaviorInteractPrompt.new(this)
      interactPrompt.getImage().setPath("interact.png")      interactPrompt.getImage().setPath("interact.png")
dragengine/modules/dragonscript/behavior_interactprompt.1590328967.txt.gz · Last modified: 2020/05/24 14:02 by dragonlord