How do I change the players alignment by about 5 points through conversation?
Thanks in advance,
Nafar
Small Alignment Change
Débuté par
Nafar
, oct. 19 2010 02:50
#1
Posté 19 octobre 2010 - 02:50
#2
Posté 19 octobre 2010 - 03:37
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.
object oSubject,
int nAlignment,
int nShift,
int bAllPartyMembers = TRUE
);
The detailed description is in the Lexicon. You can find that in these forums.
#3
Posté 19 octobre 2010 - 03:58
#4
Posté 19 octobre 2010 - 06:19
thanks
#5
Posté 19 octobre 2010 - 06:43
So, how do i implement the above script?
#6
Posté 19 octobre 2010 - 07:12
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 );
}
void main()
{
object pc = GetPCSpeaker();
AdjustAlignment( pc, ALIGNMENT_EVIL, 2 );
}
Modifié par Mudeye, 19 octobre 2010 - 07:12 .
#7
Posté 19 octobre 2010 - 09:02
Ok, thanks a ton





Retour en haut






