GetFleeToExit

From NWN Lexicon



Contents

[edit] GetFleeToExit()

Returns TRUE if the executing object can use ActivateFleeToExit.

[edit] Description

Returns TRUE if the executing object can use ActivateFleeToExit.

This function merely checks that the correct spawn-in conditions have been set on an NPC for it to be able to ActivateFleeToExit. It does not check for the presence of an exit Waypoint, if one is necessary.



[edit] Requirements

#include " nw_i0_generic "

[edit] Version

1.62

[edit] Example

// If we can, leave.
if (GetFleeToExit()) ActivateFleeToExit();

[edit] See Also

functions: 

ActivateFleeToExit



 author: Iskander Merriman, editor: Lilac Soul, additional contributor(s): Wayne Miller
 

Personal tools
Categories