PRC8_fork/nwn/nwnprc/trunk/scripts/dynconv_prev_a.nss

23 lines
543 B
Plaintext
Raw Permalink Normal View History

//:://////////////////////////////////////////////
//:: Dynamic Conversation: Previous choices
//:: dynconv_prev_a
//:://////////////////////////////////////////////
/** @file
Scrolls the choice list backward by 10.
@author Primogenitor
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "inc_dynconv"
void main()
{
object oPC = GetPCSpeaker();
int nOffset = GetLocalInt(oPC, DYNCONV_CHOICEOFFSET) - 10;
SetLocalInt(oPC, DYNCONV_CHOICEOFFSET, nOffset);
}