Hi, I was trying to do the cutscene from the nwn toolset guide and i keep getting an error msg.
I am very new to the toolset and cant script a lick, but im not as confused as i was so thats a good thing,anyway can somone have a look and tell me how to fix it? Please and Thx.
H.W.
void main()
{
object oTarget = GetObjectByTag("ci_BanditLeader");
object oPC = GetFirstPC();
int nInt - GotGold (oPC);
FadeToBlack(oPC,FADE_SPEED_MEDIUM);
AssignCommand(oPC,TakeGoldFromCreature(nInt,oPC,TRUE));
AssignCommand(oTarget,ActionMoveAwayFromObject(oPC));
DelayCommand(3.0,SetCutsceneMode(oPC,TRUE));
DelayCommand(3.0,FadeFromBlack(oPC,FADE_SPEED_MEDIUM));
DelayCommand(10.0,FadeToBlack(oPC,FADE_SPEED_MEDIUM));
DelayCommand(15.0,FadeFromBlack(oPC,FADE_SPEED_MEDIUM));
DelayCommand(15.0,SetCutsceneMode(oPC,FALSE));
DelayCommand(20.0,DestroyObject(oTarget,0.0));
}
here is the error msg on line 4
ERROR: PARSING VARIABLE LIST