Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

NPC leaves after conversation

From NWNWiki

Jump to: navigation, search

[edit] NPC Leave's after Conversation

Put this in the OnActionsTaken at the end on the conversation file

/*
  Does an escape area to a waypoint named NW_EXIT
  by walking.
  NOTE: as with all NPC movement try not to make them
  move more than 20 meters for a pathfind.
*/
//:://////////////////////////////////////////////
//:: Created By:     Brent@Bioware
//:: Created On:     December
//:://////////////////////////////////////////////
#include "nw_i0_plot"
void main()
{
// Remove FALSE to make them RUN
    AssignCommand(OBJECT_SELF, EscapeArea(FALSE));
}
Rate this article:
Share this article: