Djinni Wiki
Advertisement

function __ActionMoveToLocation (location lDestination, int bRun=FALSE)

The action subject will move to lDestination.

  • lDestination: The object will move to this location. If the location is invalid or a path cannot be found to it, the command does nothing.
  • bRun: If this is TRUE, the action subject will run rather than walk * No return value, but if an error occurs the log file will contain "MoveToPoint failed."
  • Return type: void
  • Include file: nwscriptdefn
Advertisement