Aller au contenu

Photo

Shifting alignment....


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Who said that I

Who said that I
  • Members
  • 492 messages

okay here I got another issue which I am not too sure how to fix.... I tried everything (to my knowledge) so if anyone could tell me what I did wrong here....

 

basically the pc has lied to the quest giver and has finished the quest, thus he will be granted a few points towards evil. 

 

the problem is now that I am getting an error code regarding the implementation of the line I was hoping someone could point out what I did wrong and how to do it properly thank you :) 

 

#include "pqj_inc"
void main()
{
    // Give the speaker some gold
    GiveGoldToCreature(GetPCSpeaker(), 150);
 
    // Give the speaker some XP
    GiveXPToCreature(GetPCSpeaker(), 200);
    // Set the variables
    SetLocalInt(GetPCSpeaker(), "iFPQuest", 200);
// Get the PC who is in this conversation.
    object oPC = GetPCSpeaker();
 
    // Update the player's journal.
    AddPersistentJournalQuestEntry("FP", 3, oPC, FALSE);
 
// The PC has become more Evil.
    AdjustAlignment(oPC, ALIGNMENT__EVIL, 3);
}
 

 

 

 



#2
Proleric

Proleric
  • Members
  • 2 354 messages

You have two underscores in ALIGNMENT__EVIL, there should only be one.



#3
Who said that I

Who said that I
  • Members
  • 492 messages
Ah ok so that is what i did wrong :) thank you!!