| Author |
exiting after conversation |
|
Windhawk
|
Posted: Monday, 11 November 03:41PM
|
For a less magical approach , here's one I often use. It will make the NPC go to the nearest door, open it and leave (of course, this is most appropriate indoors).
NWScript: void main()
{
object oDoor = GetNearestObject(OBJECT_TYPE_DOOR);
ActionMoveToObject(oDoor, TRUE);
ActionOpenDoor(oDoor);
ActionDoCommand(DestroyObject(OBJECT_SELF));
SetCommandable(FALSE);
}
Put it in the Actions Taken if you only want the NPC to flee at certain dialogue choices, or under Current File if you want him/her to flee after the conversation in any case.
_________________ If nothing else, you can consider this a *BUMP* |
|