I've been writing dialogs for an NPC and at some point he has to say "My Lady" or "My Lord".
The string already has one conditional (gen00pt_backgrounds, GEN_BACK_HUMAN_NOBLE) added in the "plots and scripting" tag.
Is there any easy way to add a second conditional to the same dialog to check if your PC is male or female or the only way to do this is via scripting?
Differenciating dialogs for male and female PCs
Débuté par
DLAN_Immortality
, nov. 22 2009 10:40
#1
Posté 22 novembre 2009 - 10:40
#2
Posté 22 novembre 2009 - 11:11
You have also the second option where you can set a script, right?
Make a script and paste this, place it there:
Make a script and paste this, place it there:
//COnvo conditional script
//Check if speaker is female for showing that line
int StartingConditional()
{
object oPC = GetPCSpeaker();
if (GetCreatureGender(oPC) == GENDER_FEMALE)
return TRUE;
return FALSE;
}





Retour en haut







