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

From Second Life Wiki
Jump to navigation Jump to search
m
m (This is why the PrimitiveParam interface is preferable, less confusing.)
Line 1: Line 1:
<noinclude>{{Pathfinding alpha}}</noinclude>
<noinclude>{{Pathfinding alpha}}</noinclude>{{#if:
 
{{#vardefine:p_height_desc|height to jump, between 0.1m and 2.0m}}
 
}}
{| class="sortable" {{Prettytable}}
{| class="sortable" {{Prettytable}}
|- {{Hl2}}
|- {{Hl2}}
! class="sortable" | Command
! class="sortable" | Command
! class="sortable" | Value
! class="sortable" | Value
! class="unsortable" | Description
! class="unsortable" | Description & Required Parameters
|-
|-
|CHARACTER_CMD_JUMP
|CHARACTER_CMD_JUMP
|0x1
|0x1
|Makes the character jump. Requires an additional parameter, the height to jump, between 0.1m and 2.0m. This must be provided as the first element of the llExecCharacterCmd option list.
|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
|CHARACTER_CMD_SMOOTH_STOP
|0x2
|0x2
|Stops any current pathfinding operation.
|Stops any current pathfinding operation in a smooth like fashion.
|-
|-
|CHARACTER_CMD_STOP
|CHARACTER_CMD_STOP

Revision as of 09:21, 11 May 2012

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.