Author Topic: Simple Script Not Working  (Read 1335 times)

Legacy_JediMindTrix

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +0/-0
Simple Script Not Working
« Reply #15 on: August 19, 2012, 06:26:55 am »


               The variables all match, and this is still not working. >.>
               
               

               
            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
Simple Script Not Working
« Reply #16 on: August 19, 2012, 06:48:37 am »


               Hmm... can't think of anything else that would cause this same problem except the dialog specified in the variable not existing. Did you make sure it matches the conversation name exactly? If I change the variable so it doesn't match, I get the blue circle around the NPC, and I try to talk to him but fail, which sounds like what you described.

Maybe post a screenshot of your variables if that doesn't seem to be it?
               
               

               
            

Legacy_JediMindTrix

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +0/-0
Simple Script Not Working
« Reply #17 on: August 19, 2012, 07:01:57 am »


               'Posted
               
               

               


                     Modifié par NineCoronas2021, 19 août 2012 - 06:02 .
                     
                  


            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
Simple Script Not Working
« Reply #18 on: August 19, 2012, 07:18:38 am »


               You're right, all those variables do match up, and the conversation exists. I'm stumped. If it'll help, here's a demo of the script working just fine.

http://www.shadowsan...rigger_demo.zip
               
               

               


                     Modifié par Squatting Monk, 19 août 2012 - 06:18 .
                     
                  


            

Legacy_JediMindTrix

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +0/-0
Simple Script Not Working
« Reply #19 on: August 19, 2012, 07:33:07 am »


               'Posted

Here's a screenie of the NPC supposed to be talking and the trigger.

Besides that... wtf? >.<
               
               

               
            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
Simple Script Not Working
« Reply #20 on: August 19, 2012, 07:44:39 am »


               How big is the module you're testing it in? If you want, you can send it and I can take a looksie.
               
               

               
            

Legacy_JediMindTrix

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +0/-0
Simple Script Not Working
« Reply #21 on: August 19, 2012, 07:48:26 am »


               The custom hak is 300mb <.<

EDIT: Although compressed with .7z it'll probably be like 40. Alright, I'll send it over,

but the module isn't very big. Just three area's.
               
               

               


                     Modifié par NineCoronas2021, 19 août 2012 - 06:48 .
                     
                  


            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
Simple Script Not Working
« Reply #22 on: August 21, 2012, 12:03:12 pm »


               Found the issue at long last. The default OnConversation script set on the NPC is stopping it. Removing this script fixes the issue. I'm not sure why, especially considering this is an unedited stock script. Is this normal?

Side note: If you're going to have the ClearAllCommands() bit in there, make sure to assign it to the PC, otherwise you're assigning it to the trigger, which will do nothing.
               
               

               
            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
Simple Script Not Working
« Reply #23 on: August 22, 2012, 08:38:44 am »


               The weird thing is that, in my test that I set up, my NPC had the OnConversation script set on him and it didn't cause any issues.

EDIT: NC figured it out. Looks like the script was being overriden by a hak.
               
               

               


                     Modifié par Squatting Monk, 22 août 2012 - 07:45 .
                     
                  


            

Legacy_JediMindTrix

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +0/-0
Simple Script Not Working
« Reply #24 on: August 22, 2012, 08:45:18 am »


               I blame Olander's AI, overwriting things.