Quote from: Sir_Carnifex on September 01, 2008, 10:22:14 PMSo, no, it's not a stupid question ... it's a very helpful question.Glad to have helped. I ended up twice on the bad end of the "Is it plugged in?" anedoct - so perhaps there are no stupid questions after all

Quote from: The Bigg on September 01, 2008, 04:58:38 PMCarnifex: the APPEND must be done before the COMPILE/EXTEND. Are you sure you aren't APPENDING to the IDS after COMPILEing? (hopefully I'm not insulting you by asking stupid questionsThat would be the problem. I read somewhere just to add the lines to the Tp2, but I don't remember seeing where to put them, so I just put it down at the bottom. So, no, it's not a stupid question ... it's a very helpful question.)

Quote from: plainab on September 01, 2008, 04:52:01 PMThe addition of CLEAR_IDS_MAP tells weidu to clear it's memory of script dependent files and reread them. Once it does this, you will be able to use the new addition in any script or dialog file as you deem necessary. You only need to have the CLEAR_IDS_MAP one time before you compile any files using the additions. Therefore, you can append multiple states, spells, triggers, actions, shouts, etc. and have a single CLEAR_IDS_MAP on the line above your first file taking advantage of the new additions.Recent WeiDU versions don't need CLEAR_IDS_MAP anymore (can't find the exact version in the change log, but I'm sure it's post 204 and all mods should use W204 or later anyway).
)APPEND ~STATE.IDS~ ~0x80101FEF CD_STATE_NOTVALID~
UNLESS ~CD_STATE_NOTVALID~APPEND ~STATE.IDS~ ~0x80101FEF CD_STATE_NOTVALID~
UNLESS ~CD_STATE_NOTVALID~
CLEAR_IDS_MAPQuoteWhat parse error do you get? Is it still there after you add the custom state to the ids via the tp2-patching? (Sorry for not pointing that out earlier, btw. I mentioned the custom state but didn't tell you how to implement it. It's from CamDawg, btw., just for the credits.)
[CXHalbo/CXHalbo.baf] PARSE ERROR at line 5 column 39-39
Near Text: )
[StateCheck] argument [CD_STATE_NOTVALID] not found in [State.IDS][*.IDS] forgotten
Appending to files ...
Appending [0x80101FEF CD_STATE_NOTVALID...] to [STATE.IDS] because it does NOT contain [CD_STATE_NOTVALID]
Appended text to [STATE.IDS]QuoteTo weather: No check, unfortunately, only action. So, if you want a banter only fire if it's raining (or not), you have to set the whether, run a timer of say 5 sec and then trigger the banter. I did that for one of Ajantis's love talks in BG1NPC project (script block slighty adapted to the example):I already got the weather talk done. I set the weather to clear, then a wait...then the talk triggers. It took a few tries of tinkering around, but I got it. Mine is a bit more complicated as it involves four triggers/talks. I was a bit surprised I got it done as fast as I did. Thanks anyway.
