Advertisement
henesua

aa_conv_end

Jan 6th, 2012
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.04 KB | None | 0 0
  1. //::///////////////////////////////////////////////
  2. //:: aa_conv_end
  3. //:://////////////////////////////////////////////
  4. /*
  5.     intended for use in conversations
  6.     garbafe collection for dynamic conversations
  7.     NPC resume's prior activity
  8. */
  9. //:://////////////////////////////////////////////
  10. //:: Created By: The Magus (2012 jan 6)
  11. //:: Modified:
  12. //:://////////////////////////////////////////////
  13.  
  14. #include "NW_I0_GENERIC"
  15.  
  16. void main()
  17. {
  18.     object oPC          = GetPCSpeaker();
  19.     object oNPC         = OBJECT_SELF;
  20.     string sNodeName    = "CONVNODE"+GetTag(oNPC);
  21.  
  22.     DeleteLocalInt(oPC,sNodeName);
  23.     DeleteLocalInt(oPC,"nLastBranch");
  24.     DeleteLocalInt(oPC,"NEXT_TOKEN");
  25.     DeleteLocalString(oPC,"CUSTOM_TOKEN_100");
  26.     DeleteLocalString(oPC,"CUSTOM_TOKEN_101");
  27.     DeleteLocalString(oPC,"CUSTOM_TOKEN_102");
  28.     DeleteLocalString(oPC,"CUSTOM_TOKEN_103");
  29.     DeleteLocalString(oPC,"CUSTOM_TOKEN_104");
  30.     DeleteLocalString(oPC,"CUSTOM_TOKEN_105");
  31.  
  32.     //default bioware from nw_walk_wp
  33.     WalkWayPoints();
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement