Jump to content

Home

[K1]Die-script


Mindtwistah

Recommended Posts

Can someone tell me a script to make the PC and the whole party die?

 

void main() {
   int i;
   for (i = 0; i < GetPartyMemberCount(); i++) {
       object oParty = GetPartyMemberByIndex(i);
       SetMinOneHP(oParty, FALSE);
       SetPlotFlag(oParty, FALSE);
       ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDeath(), oParty);  
   }   
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...