This conditional script makes the dialog appear after a certain line has been spoken
E.G if someone ask's you to help them and you reply yes that would make the npc tell you how to help him next time you speak
You should really use a local variable for this one...I don't know many things about local variables, as I'm not that experienced, but you could try this thread: Clicky! (
http://www.lucasforums.com/showthread.php?t=173587) It's for TSL, but you should get the feeling of how it works!;)
and also a dialog starts due to the players alingment points
That's easy...
If you want the player to be evil to unlock the dialog use this:
int StartingConditional()
{
object oPC = GetFirstPC();
if(GetGoodEvilValue(oPC) <= 25) {
return TRUE;
}
else {
return FALSE;
}
}
If you want him to be good use this:
int StartingConditional()
{
object oPC = GetFirstPC();
if(GetGoodEvilValue(oPC) >= 75) {
return TRUE;
}
else {
return FALSE;
}
}
Hope it works ok!;)
EDIT: You are welcome!:D
|I|