Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //::///////////////////////////////////////////////
- //:: aa_conv_branch1
- //:://////////////////////////////////////////////
- /*
- intended for use in conversations
- advances the conversation node, sets branch chosen at 1
- */
- //:://////////////////////////////////////////////
- //:: Created By: The Magus (2012 jan 1)
- //:: Modified:
- //:://////////////////////////////////////////////
- void main()
- {
- object oPC = GetPCSpeaker();
- object oNPC = GetLastSpeaker();
- string sNodeName = "CONVNODE"+GetTag(oNPC);
- int nNode = GetLocalInt(oPC, sNodeName);
- if(nNode==0)
- nNode=1;
- SetLocalInt(oPC,"nLastBranch",1);
- SetLocalInt(oPC,sNodeName, nNode+1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement