Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Path System
  5. makeWaypoint

makeWaypoint

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Make this object into a waypoint, changes tag to Waypoint, numbers are always converted to positive, negative’s only apply for directions to followers

Parameters:

  • pathNo
    • An integer value
  • pointNo
    • An integer value
  • minWait
    • A float value
  • maxWait Optional
    • A float value
  • isJunction Optional
    • A boolean value
  • endPathsFwd Optional
    • A string value
  • endPathsBak Optional
    • A string value
  • index Optional
    • An integer value

Example:

1
obj.makeWaypoint(pathNo, pointNo, minWait, maxWait, isJunction, endPathsFwd, endPathsBak, index)
Tags
Was this article helpful to you? Yes No

How can we help?