34 lines
913 B
Plaintext
34 lines
913 B
Plaintext
#include "utl_i_sqluuid"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
SQLocalsUUID_SetInt(oPC,"EvilPath", 1);
|
|
SQLocalsUUID_SetInt(oPC,"EvilLevel", 0);
|
|
SQLocalsUUID_SetInt(oPC,"Enemy", 4);
|
|
|
|
object oGood;
|
|
oGood = GetObjectByTag("en3_good");
|
|
AdjustReputation(oPC,oGood,-100);
|
|
|
|
object oDefender;
|
|
oDefender = GetObjectByTag("en4_cityguard0_1");
|
|
AdjustReputation(oPC,oDefender,-100);
|
|
|
|
object oEvil;
|
|
oEvil = GetObjectByTag("en4_evil");
|
|
AdjustReputation(oPC,oEvil,50);
|
|
|
|
AdjustAlignment(oPC,ALIGNMENT_EVIL,20);
|
|
|
|
object oPartyMember = GetFirstFactionMember(oPC, TRUE);
|
|
|
|
while (GetIsObjectValid(oPartyMember) == TRUE)
|
|
{
|
|
if (SQLocalsUUID_GetInt(oPartyMember,"EvilPath") == 0)
|
|
SendMessageToPC(oPartyMember,GetName(oPC) + " has aligned himself with evil. Should you choose to follow him down this path you must align yourself with evil too.");
|
|
|
|
oPartyMember = GetNextFactionMember(oPC, TRUE);
|
|
}
|
|
} |