EscapeArea(int, string)

Makes a creature escape to a waypoint.

void EscapeArea(
    int bRun = TRUE,
    string sTag = "NW_EXIT"
);

Parameters

bRun

Whether or not to make the creature run. (Default: TRUE)

sTag

The tag of the object (generally a waypoint) to run to. (Default: "NW_EXIT")


Description

Makes a creature run or walk (bRun) to the nearest waypoint with the tag sTag.

Also prevents the creature from being interupted.



Requirements

#include "nw_i0_plot"

Version

1.22

See Also

categories: Movement Functions


 author: Tom Cassiotis