Bioware Archive
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Login
Register
Bioware Archive
»
Bioware Archive V2
»
Builders - Scripting
»
Small Alignment Change
« previous
next »
Print
Pages: [
1
]
Author
Topic: Small Alignment Change (Read 595 times)
Legacy_Nafar
Newbie
Posts: 8
Karma: +0/-0
Small Alignment Change
«
on:
October 19, 2010, 03:50:35 pm »
How do I change the players alignment by about 5 points through conversation?
Thanks in advance,
Nafar
Logged
Legacy_Mudeye
Full Member
Posts: 238
Karma: +0/-0
Small Alignment Change
«
Reply #1 on:
October 19, 2010, 04:37:57 pm »
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.
Logged
Legacy_Lightfoot8
Hero Member
Posts: 4797
Karma: +0/-0
Small Alignment Change
«
Reply #2 on:
October 19, 2010, 04:58:14 pm »
NWN Lexicon
Logged
Legacy_Nafar
Newbie
Posts: 8
Karma: +0/-0
Small Alignment Change
«
Reply #3 on:
October 19, 2010, 07:19:35 pm »
thanks
Logged
Legacy_Nafar
Newbie
Posts: 8
Karma: +0/-0
Small Alignment Change
«
Reply #4 on:
October 19, 2010, 07:43:17 pm »
So, how do i implement the above script?
Logged
Legacy_Mudeye
Full Member
Posts: 238
Karma: +0/-0
Small Alignment Change
«
Reply #5 on:
October 19, 2010, 08:12:00 pm »
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 .
Logged
Legacy_Nafar
Newbie
Posts: 8
Karma: +0/-0
Small Alignment Change
«
Reply #6 on:
October 19, 2010, 10:02:01 pm »
Ok, thanks a ton
Logged
Print
Pages: [
1
]
« previous
next »
Bioware Archive
»
Bioware Archive V2
»
Builders - Scripting
»
Small Alignment Change