NextBot/MoveToPos

From Garry's Mod
Revision as of 13:08, 28 March 2013 by Facepunch bot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
NextBot:MoveToPos( )

Contents

Description

To be called in the behaviour coroutine only! Will yield until the bot has reached the goal or is stuck

Arguments

Vector pos

The position we want to get to

Arguments

table options

A table containing a bunch of tweakable options. See the function definition for more details

Returns

string

Either "failed", "stuck", "timeout" or "ok" - depending on how the NPC got on
Personal tools
Navigation