This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dragengine:modules:dragonscript:behavior_hitscan [2025/05/11 10:58] – dragonlord | dragengine:modules:dragonscript:behavior_hitscan [2025/05/11 13:39] (current) – dragonlord | ||
---|---|---|---|
Line 71: | Line 71: | ||
This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace '' | This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace '' | ||
- | ===== hitScan.set ===== | + | ===== hitScan.update |
- | Set one or more hit scan parameters. | + | Update |
^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
- | |stop|empty string, '' | + | |start|'' |
- | + | ||
- | This is an example of using this action: | + | |
- | <code xml> | + | |
- | <action name=' | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ===== hitScan.start ===== | + | |
- | + | ||
- | Start hit scans. | + | |
- | + | ||
- | ^Parameter^Value^Description^ | + | |
- | |type|'' | + | |
* '' | * '' | ||
* '' | * '' | ||
Line 102: | Line 88: | ||
|angle.horizontal|float|Horizontal opening angle in degrees (angle across width)| | |angle.horizontal|float|Horizontal opening angle in degrees (angle across width)| | ||
|angle.vertical|float|Vertical opening angle in degrees (angle across height)| | |angle.vertical|float|Vertical opening angle in degrees (angle across height)| | ||
+ | |stop|empty string, '' | ||
This is an example of using this action: | This is an example of using this action: | ||
<code xml> | <code xml> | ||
- | <action name=' | + | <action name=' |
- | < | + | < |
< | < | ||
< | < |