Initial Upload
Initial Upload
This commit is contained in:
17
_module/nss/dh2_trigenter.nss
Normal file
17
_module/nss/dh2_trigenter.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
////////////////////////////////////////////////////////////
|
||||
// DESERT HEAT 2.0 - By Deva Bryson Winblood
|
||||
// 10/10/2003
|
||||
// OnEnter script for the trigger
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oMe=OBJECT_SELF;
|
||||
object oPC=GetEnteringObject();
|
||||
string sName=GetName(oMe);
|
||||
if (GetIsPC(oPC)==TRUE)
|
||||
{ // is PC
|
||||
SetLocalInt(oPC,"DH2_Water",TRUE);
|
||||
SetLocalString(oPC,"DH2_WaterType",sName);
|
||||
} // is PC
|
||||
}
|
Reference in New Issue
Block a user