Skip to content

MQ2Nav Exported Functions

brainiac edited this page Jan 24, 2019 · 1 revision

The following functions are exported for use by other plugins:

// Used to check if MQ2Nav is initialized.
bool IsNavInitialized()

// Used to check if mesh is loaded
bool IsNavMeshLoaded()

// Used to check if a path is active
bool IsNavPathActive()

// Used to check if path is paused
bool IsNavPathPaused()

// Check if path is possible to the specified target
bool IsNavPossible(const char* szLine)

// Check path length
float GetNavPathLength(const char* szLine)

// used to pass mq2nav commands
bool ExecuteNavCommand(const char* szLine)

Clone this wiki locally