How to properly search for things in Near Infinity?
UncleSporky
Member Posts: 100
I'm kind of a novice with this, poking around in the game's scripts and such.
I'm looking for a way to quickly find every instance in Baldur's Gate 1 that a quest time limit is set. Or, if it would be more useful, every instance that a time limit is exceeded and there are consequences.
Some examples:
MINSC.DLG, Action 1, SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS) (time limit to rescue Dynaheir)
ALATOS.DLG, Action 4, SetGlobalTimer("AlatosTenDayTimer","GLOBAL",TEN_DAYS) (time limit to steal some items for him)
While messing around I also found how characters check for their charmed status and sometimes have unique dialogue based on that, for example:
FARMBR.DLG, State 13, "I'm just a simple farmer, I don't know much." Trigger index 0, where State trigger 0 is StateCheck(Myself,STATE_CHARMED)
I'd like to know how to do a mass search for these sorts of things so I could look through them. When I try to search now for SetGlobalTimer across all DLG files, it seems to find thousands of references, which leads me to believe I'm searching wrong.
I'm looking for a way to quickly find every instance in Baldur's Gate 1 that a quest time limit is set. Or, if it would be more useful, every instance that a time limit is exceeded and there are consequences.
Some examples:
MINSC.DLG, Action 1, SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS) (time limit to rescue Dynaheir)
ALATOS.DLG, Action 4, SetGlobalTimer("AlatosTenDayTimer","GLOBAL",TEN_DAYS) (time limit to steal some items for him)
While messing around I also found how characters check for their charmed status and sometimes have unique dialogue based on that, for example:
FARMBR.DLG, State 13, "I'm just a simple farmer, I don't know much." Trigger index 0, where State trigger 0 is StateCheck(Myself,STATE_CHARMED)
I'd like to know how to do a mass search for these sorts of things so I could look through them. When I try to search now for SetGlobalTimer across all DLG files, it seems to find thousands of references, which leads me to believe I'm searching wrong.
0
Comments
The Baldur's Gate / Infinity Engine subforum for this would be here.
To find all timers, you will also need to perform a similar search through BCS files.