function ActionMoveToObject (object oMoveTo, int bRun=FALSE, float fRange=1.0f)

Cause the action subject to move to a certain distance from oMoveTo. If there is no path to oMoveTo, this command will do nothing.

  • oMoveTo: This is the object we wish the action subject to move to
  • bRun: If this is TRUE, the action subject will run rather than walk
  • fRange: This is the desired distance between the action subject and oMoveTo * No return value, but if an error occurs the log file will contain "ActionMoveToObject failed."
  • Return type: void
  • Include file: nwscriptdefn

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.