Aller au contenu

Photo

Where are the Plot Event Variables Located?


1 réponse à ce sujet

#1
Sederien

Sederien
  • Members
  • 18 messages
This is much less a "how" than a "where" question and so I apologize for taking advantage of the script forum to post such a query, but it seems that people with the most familiarity with the ingame global variables are likely to be found here.

My major goal at the moment is to trigger the Zevran event earlier in the game (after the player exits from Lothering for the first time). Currently, as I understand the games handling of plot flags, each time the player travels to a new area the game will check for completed quests and -- if available -- will include prioritized random events for the player to encounter. Simple examples are the dwarven/elven/magi/redcliff forces fighting darkspawn only AFTER one completes the respective main quest.

However, I have yet to find where these flags exist in the game files. Has anyone stumbled across them in the course of their modding?

I attempted to hunt for EVENT_TYPE_PARTY_MEMBER_HIRED, but realized that it would be within the scripted ambush and not within the scripts used to trigger the ambush (which is what I really want to find).

(Later on I am hoping to add an area to the campaign world which will appear after a certian amount of progress through the game--instead of an arbitrary level requirement, but that's something far off as I gain experience.)

#2
Yaron Jakobs

Yaron Jakobs
  • BioWare Employees
  • 6 messages
Check the map_events_h script. Look for the WM_HandleEventsWOW function.

UPDATE: it seems you don't have this script available yet on your side as it's not a core script. Hopefully in the future...

Modifié par Yaron Jakobs, 27 novembre 2009 - 06:15 .