I have this one:
void main()
{
// Change NPC faction to -100 Hatred
AdjustReputation(GetPCSpeaker(), OBJECT_SELF, -100);
DetermineCombatRound(GetPCSpeaker());
}
The NPC will the attack the PC when a certain line in the conversation is chosen. However when compiling I get this error:
2010-09-03 14:57:35: Error. 'assassin2' did not compile.
assassin2.nss(5): ERROR: UNDEFINED IDENTIFIER (DetermineCombatRound)
Am I missing something here?
EDIT: Found another one that worked better here:
nwn.bioware.com/forums/viewcodepost.html
Modifié par Green_Dragon123, 03 septembre 2010 - 01:16 .