Battledale_PRC8/_module/nss/gz_pkeg_death.nss

15 lines
286 B
Plaintext
Raw Permalink Normal View History

void main()
{
int nArmed=GetLocalInt(OBJECT_SELF,"armed");
if (nArmed==0)
{
return;
}
object oScorch = CreateObject(OBJECT_TYPE_PLACEABLE, "gz_obj_pkegmark",GetLocation(OBJECT_SELF));
AssignCommand(oScorch,DelayCommand(20.0f,DestroyObject(oScorch)));
}