PRC8_fork/trunk/scripts/dynconv_prev_a.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

23 lines
543 B
Plaintext

//:://////////////////////////////////////////////
//:: 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);
}