Difference between revisions of "Template:LSL Constants/path update"
Jump to navigation
Jump to search
(Created page with "<noinclude>{{Pathfinding alpha}}</noinclude> {| {{Prettytable}} |-{{Hl2}} !Constants !Value !Description |- |PU_SLOWDOWN_DISTANCE_REACHED |0x00 |Character is near current goal. |…") |
m (const templating) |
||
Line 1: | Line 1: | ||
<noinclude>{{Pathfinding alpha}}</noinclude> | <noinclude>{{Pathfinding alpha}}</noinclude> | ||
{| {{Prettytable}} | {| class="sortable" {{Prettytable}} | ||
|-{{Hl2}} | |-{{Hl2}} | ||
!Constants | !Constants | ||
Line 6: | Line 6: | ||
!Description | !Description | ||
|- | |- | ||
|PU_SLOWDOWN_DISTANCE_REACHED | {{LSL ConstTB|m=3|PU_SLOWDOWN_DISTANCE_REACHED|integer|hex=0x00|c=Character is near current goal.|nolink={{#var:path_update_no_const_links}}}} | ||
|0x00 | |||
|Character is near current goal. | |||
|- | |- | ||
|PU_GOAL_REACHED | {{LSL ConstTB|m=3|PU_GOAL_REACHED|integer|hex=0x01|c=Character has reached the goal and will stop or choose a new goal (if wandering).|nolink={{#var:path_update_no_const_links}}}} | ||
|0x01 | |||
|Character has reached the goal and will stop or choose a new goal (if wandering). | |||
|- | |- | ||
|PU_FAILURE_INVALID_START | {{LSL ConstTB|m=3|PU_FAILURE_INVALID_START|integer|hex=0x02|c=Character cannot navigate from the current location - e.g., the character is off the navmesh or too high above it.|nolink={{#var:path_update_no_const_links}}}} | ||
|0x02 | |||
|Character cannot navigate from the current location - e.g., the character is off the navmesh or too high above it. | |||
|- | |- | ||
|PU_FAILURE_INVALID_GOAL | {{LSL ConstTB|m=3|PU_FAILURE_INVALID_GOAL|integer|hex=0x03|c=Goal is not on the navmesh and cannot be reached.|nolink={{#var:path_update_no_const_links}}}} | ||
|0x03 | |||
|Goal is not on the navmesh and cannot be reached. | |||
|- | |- | ||
|PU_FAILURE_UNREACHABLE | {{LSL ConstTB|m=3|PU_FAILURE_UNREACHABLE|integer|hex=0x04|c=Goal is no longer reachable for some reason - e.g., an obstacle blocks the path.|nolink={{#var:path_update_no_const_links}}}} | ||
|0x04 | |||
|Goal is no longer reachable for some reason - e.g., an obstacle blocks the path. | |||
|- | |- | ||
|PU_FAILURE_TARGET_GONE | {{LSL ConstTB|m=3|PU_FAILURE_TARGET_GONE|integer|hex=0x05|c=Target (for llPursue or llEvade) can no longer be tracked - e.g., it left the region or is an avatar that is now more than about 30m outside the region.|nolink={{#var:path_update_no_const_links}}}} | ||
|0x05 | |||
|Target (for llPursue or llEvade) can no longer be tracked - e.g., it left the region or is an avatar that is now more than about 30m outside the region. | |||
|- | |- | ||
|PU_FAILURE_NO_VALID_DESTINATION | {{LSL ConstTB|m=3|PU_FAILURE_NO_VALID_DESTINATION|integer|hex=0x06|c=There's no good place for the character to go - e.g., it is patrolling and all the patrol points are now unreachable.|nolink={{#var:path_update_no_const_links}}}} | ||
|0x06 | |||
|There's no good place for the character to go - e.g., it is patrolling and all the patrol points are now unreachable. | |||
|- | |- | ||
|PU_EVADE_HIDDEN | {{LSL ConstTB|m=3|PU_EVADE_HIDDEN|integer|hex=0x07|c=Triggered when an llEvade character thinks it has hidden from its pursuer.|nolink={{#var:path_update_no_const_links}}}} | ||
|0x07 | |||
|Triggered when an llEvade character thinks it has hidden from its pursuer. | |||
|- | |- | ||
|PU_EVADE_SPOTTED | {{LSL ConstTB|m=3|PU_EVADE_SPOTTED|integer|hex=0x08|c=Triggered when an llEvade character switches from hiding to running|nolink={{#var:path_update_no_const_links}}}} | ||
|0x08 | |||
|Triggered when an llEvade character switches from hiding to running | |||
|- | |- | ||
|PU_FAILURE_OTHER | {{LSL ConstTB|m=3|PU_FAILURE_OTHER|integer|hex=0xF4240|c=Other failure.|nolink={{#var:path_update_no_const_links}}}} | ||
|0xF4240 | |||
|Other failure. | |||
|} | |} |
Revision as of 12:08, 15 February 2012
Constants | Value | Description |
---|---|---|
PU_SLOWDOWN_DISTANCE_REACHED | 0x00 | Character is near current goal. |
PU_GOAL_REACHED | 0x01 | Character has reached the goal and will stop or choose a new goal (if wandering). |
PU_FAILURE_INVALID_START | 0x02 | Character cannot navigate from the current location - e.g., the character is off the navmesh or too high above it. |
PU_FAILURE_INVALID_GOAL | 0x03 | Goal is not on the navmesh and cannot be reached. |
PU_FAILURE_UNREACHABLE | 0x04 | Goal is no longer reachable for some reason - e.g., an obstacle blocks the path. |
PU_FAILURE_TARGET_GONE | 0x05 | Target (for llPursue or llEvade) can no longer be tracked - e.g., it left the region or is an avatar that is now more than about 30m outside the region. |
PU_FAILURE_NO_VALID_DESTINATION | 0x06 | There's no good place for the character to go - e.g., it is patrolling and all the patrol points are now unreachable. |
PU_EVADE_HIDDEN | 0x07 | Triggered when an llEvade character thinks it has hidden from its pursuer. |
PU_EVADE_SPOTTED | 0x08 | Triggered when an llEvade character switches from hiding to running |
PU_FAILURE_OTHER | 0xF4240 | Other failure. |