Aller au contenu

Photo

My first attempt at a simple cut scene (Help plz :)


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Haunted-Within

Haunted-Within
  • Members
  • 9 messages

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



#2
Haunted-Within

Haunted-Within
  • Members
  • 9 messages

Nvm, I redid it and it compiled hope it works :)



#3
Tarot Redhand

Tarot Redhand
  • Members
  • 2 688 messages

You could always try the Gestalt Cutscene Scripting System from the new vault.

 

TR



#4
CaveGnome

CaveGnome
  • Members
  • 292 messages

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.

 

Perhaps something like:  int nInt = GotGold (oPC);  could be the problem.



#5
Baaleos

Baaleos
  • Members
  • 1 330 messages

Gestalt cutscene system is pretty much the standard library for Cutscenes.

Some fun ones can be made with it

 

 


  • OldTimeRadio aime ceci

#6
Haunted-Within

Haunted-Within
  • Members
  • 9 messages

That is awsome,