WoR_PRC8/_module/nss/vampire_spawn_m2.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

20 lines
571 B
Plaintext

void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=TRUE);
void main()
{
if(GetIsDay()) {
//Do Nothing
}
else {
SetIsDestroyable(TRUE);
DelayCommand(119.0, CreateObject2(OBJECT_TYPE_CREATURE, "vampire001", GetLocation(GetWaypointByTag("WP_moors_stralad_west"))));
DelayCommand(120.0, DestroyObject(OBJECT_SELF));
}
}
void CreateObject2(int nObjectType, string sTemplate, location lLocation, int bUseAppearAnimation=TRUE)
{
CreateObject(nObjectType, sTemplate, lLocation, bUseAppearAnimation);
return;
}