I would like a way for the encounter to spawn its creatures and then buff those creatures according to game difficulty and number of PCs in the area. But, the engineer in me doesn't like the idea of looping over every object returned by
GetFirstObjectInArea()/
GetNextObjectInArea(), especially since the game knows that an encounter was triggered and there is a test for whether a given object was part of an encounter (
GetIsEncounterCreature()).
Ideally, a
GetFirstEncounterCreature()&
GetNextEncounterCreature()could take the encounter object as a parameter, perhaps as given by OBJECT_SELF or something in the OnEnter event handler.
Anyway, I don't know that anything that does what I am asking for exists, and I can do things in a big loop. But, there are areas with oodles of objects, so I though I'd check to avoid a monster loop if possible...





Retour en haut






