| The Black Wyrm's Lair Terms of Use |
Help
Search
Members
Calendar
|
Jun 5 2008, 12:48 AM
Post
#1
|
|
|
Retired team member Posts: 490 Joined: 8-April 08 From: U.S.A |
Two questions here...
I know I saw somewhere (but can't remember where) that someone mentioned using this because it includes a lot of states... The problem is WeiDu gives me this message when I use it: [StateCheck] argument [CD_STATE_NOTVALID] not found in [State.IDS] The mod still installs, but with warnings. Is this usual when using that state check, or am I using/typing it wrong? This is how I have it: !StateCheck("character",CD_STATE_NOTVALID) Edit: Found the answer to the weather question. This post has been edited by Sir_Carnifex: Jun 6 2008, 12:19 AM -------------------- "Once the game is over, the king and the pawn go back into the same box." - Italian Proverb
"I like criticism, but it must be my way." - Mark Twain "A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort." - Herm Albright |
|
|
|
![]() |
Jun 6 2008, 10:37 AM
Post
#2
|
|
|
Forum Member Posts: 1366 Joined: 22-August 04 From: Germany |
What 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.)
To 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): /* Weather change (no weather) */ IF InParty(Myself) (...) !Detect([ENEMY]) See(Player1) !StateCheck(Player1,CD_STATE_NOTVALID) CombatCounter(0) Global("C#WeatherTalk","GLOBAL",0) OR(3) AreaType(OUTDOOR) AreaType(WEATHER) AreaType(FOREST) THEN RESPONSE #100 SetGlobal("C#WeatherTalk","GLOBAL",1) Weather(NOWEATHER) RealSetGlobalTimer("C#WeatherTalkTimer1","GLOBAL",5) MoveToObject(Player1) END Have a look in the IESDP which weather can be set: http://iesdp.gibberlings3.net/files/ids/bg2/weather.htm This post has been edited by jastey: Jun 6 2008, 10:39 AM |
|
|
|
Sir_Carnifex More State Checks... Jun 5 2008, 12:48 AM
Bearwere APPEND ~STATE.IDS~ // adds custom IsValidForPartyD... Jun 5 2008, 03:21 AM
Sir_Carnifex I assume you mean adding that bit to the TP2, righ... Jun 5 2008, 10:32 PM
Sir_Carnifex [CXHalbo/CXHalbo.baf] PARSE ERROR at line ... Jun 7 2008, 02:34 AM
plainab I don't know if you were ever given the soluti... Sep 1 2008, 04:52 PM
The Bigg The addition of CLEAR_IDS_MAP tells weidu to clear... Sep 1 2008, 04:58 PM
Sir_Carnifex Carnifex: the APPEND must be done before the COMPI... Sep 1 2008, 10:22 PM
The Bigg So, no, it's not a stupid question ... it... Sep 1 2008, 10:58 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 27th October 2025 - 06:08 PM |