Before i pull my hair out in frustration:crying:
I have a conversation setup this way.
NPC: etc, etc, etc.
PC: More etc, etc, etc.
NPC: <Text i want to trigger for ANY
non-Halflings.>
NPC: <Text i want to trigger for
Halflings that are of the
BIG PHENOTYPE.>
NPC: <Text i want to trigger for
Halflings that are of the
NORMAL PHENOTYPE.>
I've tried messing around with the TAW scripts i have, but i can never get ALL 3 to show up when the respective conditions are met (i.e i can get the first and second one to show up, but the third one won't show up, even when the respective conditions are met).
Here's the scripts i have, they are in the same order as the conversation above.
I would appreciate some insight into what i'm doing wrong here.
Thanks
'>
/*
* Script generated by LS Script Generator, v.TK.0
*
* For download info, please visit:
*
http://nwvault.ign.c....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();
// The PC must not be any of the listed races.
if ( GetRacialType(oPC) == RACIAL_TYPE_HALFLING )
return FALSE;
// If we make it this far, we have passed all tests.
return TRUE;
}
-----------------------------------------------------------------------------
/*
* Script generated by LS Script Generator, v.TK.0
*
* For download info, please visit:
*
http://nwvault.ign.c....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();
// The PC must be one of the listed races.
if (GetPhenoType(oPC) == PHENOTYPE_BIG)
return TRUE;
// The PC must be one of the listed races.
if ( GetRacialType(oPC) != RACIAL_TYPE_HALFLING )
return TRUE;
// If we make it this far, we have passed all tests.
return TRUE;
}
-----------------------------------------------------------------------------
/*
* Script generated by LS Script Generator, v.TK.0
*
* For download info, please visit:
*
http://nwvault.ign.c....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();
// The PC must be one of the listed races.
if (GetPhenoType(oPC) == PHENOTYPE_NORMAL)
return TRUE;
// The PC must be one of the listed races.
if ( GetRacialType(oPC) != RACIAL_TYPE_HALFLING )
return TRUE;
// If we make it this far, we have passed all tests.
return TRUE;
}
-----------------------------------------------------------------------------
Modifié par Shiek2005, 20 août 2011 - 09:31 .