Aller au contenu

Photo

How do I fire a plot flag when a team of monsters is dead?


1 réponse à ce sujet

#1
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
I have a team of monsters that attack the PC and I want to set a plot flag when all the monsters are dead. I think someone else asked about this once, but my forum searching is not bringing it up and I can't find it in the wiki.

Any suggestions?

Thanks!

#2
DavidSims

DavidSims
  • BioWare Employees
  • 196 messages

BillHoyt wrote...

If I have only one creature to kill, is it generally accepted to put the creature on a unique team and add the quest update code in the area's script as in the above? Or is it easier to modify a creature_core script for the specific monster and run the quest-update code that way?


I tend to like to script all my death functionality through the team death even on the area, even if the team only has a single creature. It keeps things in one place. The death event on the creature works just as well however: it’s a question of organization and preference really.