lfnetwork.com mark read register faq members calendar

Thread: [TSL] Delete a dialog node
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 06-21-2007, 03:32 PM   #1
Master Zionosis
Relax On Air
 
Master Zionosis's Avatar
 
Join Date: Sep 2006
Location: High In The Sky
Posts: 1,280
Current Game: TR 8: Underworld
Contest winner - Modding 
[TSL] Delete a dialog node

Hey people, I'm at the last stage of my mod and i need one more thing.

I need a script that will make a dialog node disappear once Bao-Dur has added to the list of available party members.

Thanks in advance.

Master Zionosis is offline   you may: quote & reply,
Old 06-21-2007, 03:34 PM   #2
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Fallout 2
Forum Veteran Helpful! Notable contributor 
Master Z, just use that same script from the other thread as a conditional but put a check in the "Not" checkbox in DLGEditor.
tk102 is offline   you may: quote & reply,
Old 06-21-2007, 03:42 PM   #3
Master Zionosis
Relax On Air
 
Master Zionosis's Avatar
 
Join Date: Sep 2006
Location: High In The Sky
Posts: 1,280
Current Game: TR 8: Underworld
Contest winner - Modding 
Ohhh, thanks Tk i really am losing my mind these past few days.

I seem to be having a problem with the script though when compiling i get this error:

Compiling: c_chk_baodur.nss
c_chk_baodur.nss(2): Error: Undeclared identifier "IsAvailableNPC"
c_chk_baodur.nss(3): Error: Not all paths return a value
Compilation aborted with errors
Total Execution time = 78 ms

Any clues?

Master Zionosis is offline   you may: quote & reply,
Old 06-21-2007, 03:48 PM   #4
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Fallout 2
Forum Veteran Helpful! Notable contributor 
A typo in nwscript.nss!!!

// 696. IsAvailableNPC
// This returns whether a NPC is in the list of available party members
int IsAvailableCreature( int nNPC );

It says IsAvailableNPC but it is declared as IsAvailableCreature!

try this:
Code:
int StartingConditional() {
return IsAvailableCreature(NPC_BAO_DUR);
}
tk102 is offline   you may: quote & reply,
Old 06-21-2007, 03:54 PM   #5
Master Zionosis
Relax On Air
 
Master Zionosis's Avatar
 
Join Date: Sep 2006
Location: High In The Sky
Posts: 1,280
Current Game: TR 8: Underworld
Contest winner - Modding 
Lol, it seems there are a few of those, thanks TK, ill just test out the mod now

Master Zionosis is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > [TSL] Delete a dialog node

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:15 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.