function JumpToObject (object oToJumpTo, int nWalkStraightLineToPoint=1) Jump to oToJumpTo (the action is added to the top of the action queue).
* Return type: void
* Include file: nwscriptdefn
Attributes | Values |
---|
rdfs:label
| |
rdfs:comment
| - function JumpToObject (object oToJumpTo, int nWalkStraightLineToPoint=1) Jump to oToJumpTo (the action is added to the top of the action queue).
* Return type: void
* Include file: nwscriptdefn
- The JumpToObject() NWScript command causes the caller – who must be a living creature – to instantly move (teleport) to the indicated object. This occurs immediately, ignoring the action queue. 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 interrupts the action queue, it is often a good idea to call <a href="/mediawiki/ClearAllActions" title="ClearAllActions">ClearAllActions</a>() first.
|
dcterms:subject
| |
dbkwik:nwn2/proper...iPageUsesTemplate
| |
returns
| |
Name
| |
param
| - int nWalkStraightLineToPoint
- object oToJumpTo
|
param2default
| |
param2desc
| - This parameter seems to be ignored.
|
param1desc
| - The object to which to jump.
|
dbkwik:nwn/property/wikiPageUsesTemplate
| |
abstract
| - The JumpToObject() NWScript command causes the caller – who must be a living creature – to instantly move (teleport) to the indicated object. This occurs immediately, ignoring the action queue. 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 interrupts the action queue, it is often a good idea to call <a href="/mediawiki/ClearAllActions" title="ClearAllActions">ClearAllActions</a>() first.
- function JumpToObject (object oToJumpTo, int nWalkStraightLineToPoint=1) Jump to oToJumpTo (the action is added to the top of the action queue).
* Return type: void
* Include file: nwscriptdefn
|