Okay, it does not work without DetermineCombatRound. I tried altering Gestalt's cutscene system so it would not conflict with the standard NWN scripts but that didn't work either. I am back to trying to call the below script from the cutscene script I made. However, I am still getting compiler error messages, specifically UNKNOWN STATE IN COMPILER (for the line "object oTarget = GetObjectByTag("Jacinn");". I am still a n00b to scripting so help is appreciated.
Thanks!
Here is the script:
1) #include "nw_i0_generic"
2)
3) void main()
4) {
5)
6) object oPC = GetLocalObject(GetModule()
7)
object oTarget = GetObjectByTag("Jacinn");
9)
10) AdjustReputation(oPC, oTarget, -100);
11)
12) SetIsTemporaryEnemy(oPC, oTarget);
13)
14) AssignCommand(oTarget, ActionAttack(oPC));
15)
16) AssignCommand(oTarget, DetermineCombatRound(oPC));
17)
18) }
Modifié par UnrealJedi, 13 décembre 2013 - 05:01 .