Aller au contenu

Photo

Small Alignment Change


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

#1
Nafar

Nafar
  • Members
  • 4 messages
How do I change the players alignment by about 5 points through conversation?
Thanks in advance,
Nafar

#2
Mudeye

Mudeye
  • Members
  • 126 messages
void AdjustAlignment(

object oSubject,

int nAlignment,

int nShift,

int bAllPartyMembers = TRUE

);



The detailed description is in the Lexicon. You can find that in these forums.

#3
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
NWN Lexicon

#4
Nafar

Nafar
  • Members
  • 4 messages
thanks

#5
Nafar

Nafar
  • Members
  • 4 messages
So, how do i implement the above script?




#6
Mudeye

Mudeye
  • Members
  • 126 messages
Ok so if you want the PC to shift 2 points towards evil. For the ActionsTaken script put the following.

void main()
{
     object pc = GetPCSpeaker();
    AdjustAlignment( pc, ALIGNMENT_EVIL, 2 );
}

Modifié par Mudeye, 19 octobre 2010 - 07:12 .


#7
Nafar

Nafar
  • Members
  • 4 messages
Ok, thanks a ton