/* * Script generated by LS Script Generator, v.TK.0 * * For download info, please visit: * http://nwvault.ign.com/View.php?view=Other.Detail&id=1502 */ // Put this under "Text Appears When" in the conversation editor. int StartingConditional() { // Get the PC who is involved in this conversation object oPC = GetPCSpeaker(); int nGold = GetHitDice(oPC) * 500; // The PC must have at least 100 gold. if ( GetGold(oPC) >= nGold ) return FALSE; // If we make it this far, we have passed all tests. return TRUE; }