lfnetwork.com mark read register faq members calendar

Thread: Slightly advanced script way out of my depth.
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, 09:03 AM   #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 
Slightly advanced script way out of my depth.

Hello again people, I'm once again looking for scripting advice.

This time i need a script that:

Allows a dialog node to appear after the first node has been said and allow it to keep being said until Bao-Dur joins the party.

Not sure how to do this, so if someone can kindly point out how to do this for me please.

And just to let you know this is for K2, though i think the "Bao-Dur" points that out

Thanks in advance.

Master Zionosis is offline   you may: quote & reply,
Old 06-21-2007, 12:54 PM   #2
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,765
Current Game: Watch_Dogs
Forum Veteran Helpful! Notable contributor 
This conditional script should work I think in that case:
Code:
int StartingConditional() {
  return IsAvailableCreature(NPC_BAO_DUR);  // fixed, was IsAvailableNPC
}
so if you saved that as c_chk_baodur then you could use it in a dialog whose tree might look like this (with conditionals and scripts displayed in DLGEditor):
Quote:
[+]<c_talkedto> Hello, we haven't talked before <a_talktrue>
[+]<c_chk_baodur> Since you're a friend of a Bao Dur...<>
[+]<> Hello again <>
If you want to only the Bao Dur branch to occur one time, you'll have to set some other condition and add that check into the c_chk_baodur script.

Last edited by tk102; 06-21-2007 at 03:51 PM.
tk102 is offline   you may: quote & reply,
Old 06-21-2007, 01:41 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 
I actually just found another way to do it using your method, so thank you TK.


Last edited by master zionosis; 06-21-2007 at 03:30 PM.
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 > Slightly advanced script way out of my depth.

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 06:31 AM.

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