28 lines
510 B
Plaintext
28 lines
510 B
Plaintext
|
#include "rd_questinc"
|
||
|
|
||
|
void SetFaction(object oPC);
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPC;
|
||
|
|
||
|
oPC = GetPCSpeaker();
|
||
|
SetPartyInt(oPC,"EvilCheck",2);
|
||
|
SetPartyInt(oPC,"Evil",1);
|
||
|
SetPartyInt(oPC,"EvilWait",1);
|
||
|
SetFaction(oPC);
|
||
|
}
|
||
|
|
||
|
void SetFaction(object oPC)
|
||
|
{
|
||
|
object oGood;
|
||
|
oGood = GetObjectByTag("en3_good");
|
||
|
|
||
|
object oPartyMember = GetFirstFactionMember(oPC, TRUE);
|
||
|
while (GetIsObjectValid(oPartyMember) == TRUE)
|
||
|
{
|
||
|
AdjustReputation(oPartyMember,oGood,-100);
|
||
|
oPartyMember = GetNextFactionMember(oPC, TRUE);
|
||
|
}
|
||
|
}
|