LoT_PRC8/_module/nss/pgs_set_list7.nss
Jaysyn904 ec287507a1 Initial upload
Initial upload.
2023-09-25 21:32:17 -04:00

38 lines
1.2 KiB
Plaintext

//::///////////////////////////////////////////////
//:: Name: pgs_set_list7
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Store the current number saved at this loc.
for future use.
*/
//:://////////////////////////////////////////////
//:: Created By: Samius Maximus
//:: Created On:
//:://////////////////////////////////////////////
#include "inc_gsystem"
void main()
{
object oPlayer = GetPCSpeaker();
//--------------------------------------------
//Determine which list was built.
//--------------------------------------------
switch (GetLocalInt (oPlayer, "List_Built"))
{
case 1: /*Guild list - all or faction-based.*/
SetLocalInt (oPlayer, "Temp_Guild_List_Number", GetLocalInt
(oPlayer, "Temp_List_Position7"));
break;
case 2: /*Guild messages.*/
SetLocalInt (oPlayer, "Message_Number", GetLocalInt (oPlayer,
"Temp_List_Position1"));
break;
case 3: /*Guild replies.*/
SetLocalInt (oPlayer, "Reply_Number", GetLocalInt (oPlayer,
"Temp_List_Position7"));
break;
}
}