Author Topic: Problem with debuffs at cutscene  (Read 333 times)

Legacy_Quillmaster

  • Full Member
  • ***
  • Posts: 126
  • Karma: +0/-0
Problem with debuffs at cutscene
« on: June 13, 2011, 11:29:42 pm »


               I've been using Gestalts Cutscene system, which it must be said, aids a novice scripter like myself greatly, but I'm having an issue where cutscenes debuff the PC and henchman, and can't locate where the debuffing takes place to try and deal with it.  Can anyone give me any pointers?
               
               

               
            

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
Problem with debuffs at cutscene
« Reply #1 on: June 14, 2011, 12:14:47 pm »


               

Quillmaster wrote...

I've been using Gestalts Cutscene system, which it must be said, aids a novice scripter like myself greatly, but I'm having an issue where cutscenes debuff the PC and henchman, and can't locate where the debuffing takes place to try and deal with it.  Can anyone give me any pointers?


That's a result of setting the "bClearFX" flag on GestaltStartCutscene() and/or GestaltStopCutscene(). It's the third and fourth flag in those argument lists respectively and annoyingly defaults to "TRUE", so you just have to specify out the parameters at least up to that point to make sure it's FALSE when you call it. For example (highlighted in green):

GestaltStartCutscene(GetFirstPC(),conversation,FALSE,FALSE,FALSE,FALSE,FALSE,2);

GestaltStopCutscene(0.0,oPC,"",TRUE,TRUE,FALSE,FALSE,FALSE,FALSE,2);

These examples are taken directly from my modules, where I set them up specifically to avoid any debuffing of the character. (The delay on the cutscene stop is 0.0 because these are in different scripts called from different conversation nodes, if anyone was wondering about that. '<img'>)
               
               

               


                     Modifié par AndarianTD, 14 juin 2011 - 11:31 .
                     
                  


            

Legacy_Quillmaster

  • Full Member
  • ***
  • Posts: 126
  • Karma: +0/-0
Problem with debuffs at cutscene
« Reply #2 on: June 14, 2011, 01:20:15 pm »


               Thanks Andarian '<img'>