Initial upload
Initial upload.
This commit is contained in:
24
_module/nss/pgs_disp_ranks.nss
Normal file
24
_module/nss/pgs_disp_ranks.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name: pgs_disp_ranks
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Display the rank names for the player.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Samius Maximus
|
||||
//:: Created On:
|
||||
//:://////////////////////////////////////////////
|
||||
#include "inc_gsystem"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
int iCount = 4;
|
||||
int iGuild = GetLocalInt (GetLocalObject (GetPCSpeaker(), "Object_Target"),
|
||||
"Player_Guild_Number");
|
||||
|
||||
for (; iCount >= 1; iCount--) /*Loop through, and display rank names.*/
|
||||
SetCustomToken (3035 + iCount, GetModuleGuildRankName (iGuild, iCount));
|
||||
|
||||
return TRUE; /*Conditional.*/
|
||||
}
|
||||
Reference in New Issue
Block a user