User Tools

Site Tools


dragengine:modules:dragonscript:behavior_footsteps

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_footsteps [2025/07/26 00:22] – [footSteps.set] dragonlorddragengine:modules:dragonscript:behavior_footsteps [2025/07/26 00:43] (current) – [Behavior Tree Actions] dragonlord
Line 36: Line 36:
  
 Configuration changed. Configuration changed.
 +
 +====== Conversation Commands ======
 +
 +This behavior adds these conversation commands.
 +
 +===== footSteps =====
 +
 +Control footstep behavior. The following syntax is supported:
 +
 +''footSteps step <configuration> [<event> | random]''
 +
 +Play footstep sound using configuration. Event is either "random" to play a random event of the index of the event to play.
 +
 +^Parameter^Description^
 +|configuration|Identifier of configuration to play footstep from.|
 +|event|Index of event to play. Has to be in the range from ''0'' to ''configuration.eventCount-1''.|
 +
 +====== Conversation Conditions ======
 +
 +This behavior adds no conversation conditions.
  
 ====== Behavior Tree Actions ====== ====== Behavior Tree Actions ======
Line 56: Line 76:
 </code> </code>
  
-===== footSteps.update ===== 
- 
-Update footsteps. 
- 
-^Parameter^Value^Description^ 
-|footStep|string|Play footstep using configuration matching value identifier.| 
-|footStep.event|int, ''random''|Index of event in ''footStep'' configuration to play. If ''random'' plays a random event. Default is ''random''.| 
- 
-This is an example of using this action to play a single footstep from the configuration ''walk''. Plays the event with index ''1''.: 
-<code xml> 
-<action name='footSteps.update'> 
-  <parameter name='footStep'>walk</parameter> 
-  <parameter name='footStep.event'>1</parameter> 
-</action> 
-</code> 
  
 ===== footSteps.check ===== ===== footSteps.check =====
dragengine/modules/dragonscript/behavior_footsteps.1753489327.txt.gz · Last modified: 2025/07/26 00:22 by dragonlord