function ActionJumpToObject (object oToJumpTo, int bWalkStraightLineToPoint=TRUE) Jump to an object ID, or as near to it as possible.
* Return type: void
* Include file: nwscriptdefn
Attributes | Values |
---|
rdfs:label
| |
rdfs:comment
| - function ActionJumpToObject (object oToJumpTo, int bWalkStraightLineToPoint=TRUE) Jump to an object ID, or as near to it as possible.
* Return type: void
* Include file: nwscriptdefn
- The ActionJumpToObject() NWScript command causes the caller – who must be a living creature – to instantly move (teleport) to the indicated object. This action is placed in the action queue, so might not occur immediately. In order to cause a creature other than the caller to move, this command must be assigned via <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>(). Since this command uses the action queue, it is sometimes possible for players to cancel the jump (when the caller is a player character).
|
dcterms:subject
| |
dbkwik:nwn2/proper...iPageUsesTemplate
| |
returns
| |
Name
| |
param
| - object oToJumpTo
- int bWalkStraightLineToPoint
|
param2default
| |
param2desc
| - This parameter seems to be ignored.
|
param1desc
| - The object to which to jump.
|
dbkwik:nwn/property/wikiPageUsesTemplate
| |
abstract
| - function ActionJumpToObject (object oToJumpTo, int bWalkStraightLineToPoint=TRUE) Jump to an object ID, or as near to it as possible.
* Return type: void
* Include file: nwscriptdefn
- The ActionJumpToObject() NWScript command causes the caller – who must be a living creature – to instantly move (teleport) to the indicated object. This action is placed in the action queue, so might not occur immediately. In order to cause a creature other than the caller to move, this command must be assigned via <a href="/mediawiki/AssignCommand" title="AssignCommand">AssignCommand</a>(). It is common for the target object to be a waypoint, although any type of object that has a location will work as the target (i.e. any object other than areas and the module itself). If the destination is occupied by a creature or is not walkable, then the caller will jump as close as possible to the indicated target. Since this command uses the action queue, it is sometimes possible for players to cancel the jump (when the caller is a player character).
|