Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
////////////////////////////////////////////////////////////////////////////////
//
// Olander's Pack Animals
// opa_chk_owner
// By Don Anderson
// dandersonru@msn.com
//
// This script is called from the Pack Animal Convo.
//
// Checks for Owner Match.
//
////////////////////////////////////////////////////////////////////////////////
int StartingConditional()
{
object oPC = GetPCSpeaker();
object oAnimal = OBJECT_SELF;
object oMod = GetModule();
if(oPC == OBJECT_INVALID) return FALSE;
//Player Information
string sPCU = GetLocalString(oPC,"PCU");
string sAPCU = GetLocalString(oAnimal, "OPA_OWNER_UNIQUE");
if(sPCU == sAPCU)
{
SetCustomToken(2010,GetName(oAnimal));
return TRUE;
}
else return FALSE;
}