Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

34 lines
722 B
Plaintext

///////////////////////////////////////////////////////
// Olander's Jumping/Climbing Boots
// htf_exwater
// By Don Anderson
// dandersonru@msn.com
//
// Place this script in the Trigger On Exit Event
//
///////////////////////////////////////////////////////
void main()
{
object oPC = GetExitingObject();
object oArea = GetArea(oPC);
if(GetIsPC(oPC) == TRUE)
{
int nInterior = GetIsAreaInterior(oArea);
if(nInterior == FALSE)
{
SetLocalInt(oPC,"ALLOWJUMP",1);
return;
}
if(nInterior == TRUE)
{
SetLocalInt(oPC,"ALLOWJUMP",0);
SendMessageToPC(oPC,"You can NOT Climb or Jump using boots now.");
return;
}
}
}