Aller au contenu

Photo

Solved: How do I change area variables? (was What's the best way to track the number of times PC enters an area?)


1 réponse à ce sujet

#1
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
Should I use EVENT_TYPE_AREALOAD_PRELOADEXIT and increment a variable every time they go in? Or is there a better way?

Thanks!

Modifié par PavelNovotny, 02 avril 2010 - 02:01 .


#2
DavidSims

DavidSims
  • BioWare Employees
  • 196 messages
That seems like the easiest way to me. If you don't need access to the information in other areas, then I'd store it in a local variable on the area, like AREA_COUNTER_1. If you do need that information in other areas it's a bit tricker. If there's a maximum number you care about, a series of plot flags would work.