User Tools

Site Tools


dragengine:modules:dragonscript:behavior_vrhandpointedat

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dragengine:modules:dragonscript:behavior_vrhandpointedat [2025/05/02 22:24] dragonlorddragengine:modules:dragonscript:behavior_vrhandpointedat [2025/05/14 10:31] (current) dragonlord
Line 47: Line 47:
 |count.greater|integer|Count of vr hands pointing at element is greater than integer value| |count.greater|integer|Count of vr hands pointing at element is greater than integer value|
 |player|''true'', ''false''|Player is pointing at element| |player|''true'', ''false''|Player is pointing at element|
 +|wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled|
  
 This is an example of using this action: This is an example of using this action:
Line 148: Line 149:
 <elementClass name='MyClass' class='GenericBehaviorElement'> <elementClass name='MyClass' class='GenericBehaviorElement'>
   <behavior type='ECBehaviorVRHandPointedAt'>   <behavior type='ECBehaviorVRHandPointedAt'>
-    <!-- optional: use behavior tree with id instead of empty string --> +    <!-- optional: add behavior trees. default adds all behavior trees. --> 
-    <string name='behaviorTree'>second</string>+    <list name='behaviorTrees'> 
 +      <string/> <!-- add behavior with empty identifier --> 
 +      <string>default</string> <!-- add behavior with 'default' identifier --> 
 +    </list>
          
-    <!-- optional: use state machine with id instead of empty string --> +    <!-- optional: add state machines. default adds all state machines. --> 
-    <string name='stateMachine'>second</string>+    <list name='stateMachines'> 
 +      <string/> <!-- add behavior with empty identifier --> 
 +      <string>default</string> <!-- add behavior with 'default' identifier --> 
 +    </list>
          
     <!-- set element properties. omit property prefix if used inside behavior tag -->     <!-- set element properties. omit property prefix if used inside behavior tag -->
dragengine/modules/dragonscript/behavior_vrhandpointedat.1746224662.txt.gz · Last modified: 2025/05/02 22:24 by dragonlord