Amon_PRC8/_module/nss/spawnwarcat.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

20 lines
673 B
Plaintext

void ActionCreate(string sCreature, location lLoc)
{
CreateObject(OBJECT_TYPE_CREATURE, sCreature, lLoc, TRUE);
}void main()
{
effect eMind = EffectVisualEffect(VFX_IMP_DUST_EXPLOSION);
effect eMind2 = EffectVisualEffect(VFX_FNF_SCREEN_BUMP);
string sCreature = "WemaniWarcat";
location lLoc = GetLocation(OBJECT_SELF);
DelayCommand(0.3, ActionCreate(sCreature, lLoc));
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eMind, GetLocation(OBJECT_SELF));
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eMind2, GetLocation(OBJECT_SELF));
SetPlotFlag(OBJECT_SELF, FALSE);
DestroyObject(OBJECT_SELF, 0.5);
PlaySound("c_catlion_batl");
}