Initial Upload
Initial Upload
This commit is contained in:
14
_module/nss/hal_gateirinhelp.nss
Normal file
14
_module/nss/hal_gateirinhelp.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
void main()
|
||||
{
|
||||
int nHP = GetCurrentHitPoints();
|
||||
int nCheck = GetLocalInt(OBJECT_SELF, "Aid");
|
||||
if(nHP < 1000 && nCheck == FALSE)
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF, "Aid", TRUE);
|
||||
object oArea = GetArea(OBJECT_SELF);
|
||||
location lPlace1 = Location(oArea, Vector(17.0f, 2.5f, 0.0f), 0.0f);
|
||||
location lPlace2 = Location(oArea, Vector(23.0f, 2.5f, 0.0f), 0.0f);
|
||||
CreateObject(OBJECT_TYPE_CREATURE, "hal_ilsold1", lPlace1);
|
||||
CreateObject(OBJECT_TYPE_CREATURE, "hal_ilsold1", lPlace2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user