MQ2Nav Exported Functions - brainiac/MQ2Nav GitHub Wiki

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)