Difference between revisions of "Template:LSL Constants/ExecCharacterCmd"

From Second Life Wiki
Jump to navigation Jump to search
(deprecated template)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Pathfinding alpha}}</noinclude>
<noinclude>{{LSLC|Pathfinding}}</noinclude>{{#if:
{| {{Prettytable}}
 
{{#vardefine:p_height_desc|height to jump, between 0.1m and 2.0m}}
 
}}
{| class="sortable" {{Prettytable}}
|- {{Hl2}}
|- {{Hl2}}
!Command
! class="sortable" | Command
!Value
! class="sortable" | Value
!Description
! class="unsortable" | Description & Required Parameters
|-
|CHARACTER_CMD_JUMP
|0x1
|Makes the character jump.<br/>
The {{LSL Param|option}} list is required to start with a {{LSL Param|height}} parameter: <nowiki>[</nowiki>[[float]]&nbsp;{{LSL Param|height}}]
{{{!}}
{{LSL DefineRow|float|{{LSL Param|height}}|{{#var:p_height_desc}}}}
{{!}}}
|-
|CHARACTER_CMD_SMOOTH_STOP
|0x2
|Stops any current pathfinding operation in a smooth like fashion.
|-
|-
|CHARACTER_CMD_STOP
|CHARACTER_CMD_STOP

Latest revision as of 15:45, 28 October 2023

Command Value Description & Required Parameters
CHARACTER_CMD_JUMP 0x1 Makes the character jump.

The option list is required to start with a height parameter: [float height]

• float height height to jump, between 0.1m and 2.0m
CHARACTER_CMD_SMOOTH_STOP 0x2 Stops any current pathfinding operation in a smooth like fashion.
CHARACTER_CMD_STOP 0x0 Stops any current pathfinding operation.