Initial upload
Initial upload.
This commit is contained in:
21
_module/nss/rp_pox_at1c.nss
Normal file
21
_module/nss/rp_pox_at1c.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name
|
||||
//:: FileName
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Increment the count of the pack the owner will next
|
||||
access (the "nearest" pack).
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Rogers Pessin (Tigsen)
|
||||
//:: Created On:August 4, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
int iNearestPack = GetLocalInt(OBJECT_SELF,"RP_PACK_NEAREST");
|
||||
iNearestPack++;
|
||||
if (iNearestPack>GetLocalInt(OBJECT_SELF,"RP_PACK_COUNT")) iNearestPack = 1;
|
||||
SetLocalInt(OBJECT_SELF,"RP_PACK_NEAREST",iNearestPack);
|
||||
}
|
||||
Reference in New Issue
Block a user