Hello, everyone. I need to ask for some help with this idea I had, since I'm pretty much not the bestestest with scripting.
I've made a 'test' for the player to take. Each answer increases the reputation with one of seven factions by +1 or +2. At the end, I want them to be told what the highest faction was and have their 'subrace' to change to the name of the faction with which they have the best reputation. In case of a tie they will get to choose one or the other.
... Help!
I have only gotten this far, and I get the feeling that I'm over simplifying this...
"void main(){
// These are the seven factions that need to be compared.
object oPC = GetPCSpeaker();
object oPride = GetObjectByTag("linu_pride");
object oFury = GetObjectByTag("linu_fury");
object oGlut = GetObjectByTag("linu_glut");
object oGreed = GetObjectByTag("linu_greed");
object oSloth = GetObjectByTag("linu_Sloth");
object oEnvy = GetObjectByTag("linu_envy");
object oLust = GetObjectByTag("linu_lust");
GetReputation( oPride, oPC )
// I was thinking I'd run an 'if then' for each to check if they are the highest, but then I got stuck.
if
oPride>oFury,oGlut,oGreed,oSloth,oEnvy,oLust ;
then
}"
I admit I don't even know how to make the script boxes here...
Please assist!
Thanks.
LunarBlade.
Modifié par LunarBlade, 20 décembre 2010 - 06:13 .