Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //::///////////////////////////////////////////////
- //:: aa_conv_end
- //:://////////////////////////////////////////////
- /*
- intended for use in conversations
- garbafe collection for dynamic conversations
- NPC resume's prior activity
- */
- //:://////////////////////////////////////////////
- //:: Created By: The Magus (2012 jan 6)
- //:: Modified:
- //:://////////////////////////////////////////////
- #include "NW_I0_GENERIC"
- void main()
- {
- object oPC = GetPCSpeaker();
- object oNPC = OBJECT_SELF;
- string sNodeName = "CONVNODE"+GetTag(oNPC);
- DeleteLocalInt(oPC,sNodeName);
- DeleteLocalInt(oPC,"nLastBranch");
- DeleteLocalInt(oPC,"NEXT_TOKEN");
- DeleteLocalString(oPC,"CUSTOM_TOKEN_100");
- DeleteLocalString(oPC,"CUSTOM_TOKEN_101");
- DeleteLocalString(oPC,"CUSTOM_TOKEN_102");
- DeleteLocalString(oPC,"CUSTOM_TOKEN_103");
- DeleteLocalString(oPC,"CUSTOM_TOKEN_104");
- DeleteLocalString(oPC,"CUSTOM_TOKEN_105");
- //default bioware from nw_walk_wp
- WalkWayPoints();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement