Author Topic: Changing soundset of NPC script?  (Read 428 times)

Legacy_pamelahoward

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Changing soundset of NPC script?
« on: May 06, 2015, 06:04:52 am »


               

Currently I have a script that rolls a d2 and either changes the NPC to a male appearance with a male name, or female vice versa.


 


Is there a function to change the soundset of NPCs?



               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
Changing soundset of NPC script?
« Reply #1 on: May 06, 2015, 08:36:14 am »


               

I may be wrong, but I don't think there is a function for this.


 


What you can do is make two blueprints in the creature palette, one male, the other female, then use CreateObject in game to spawn the chosen NPC at a waypoint.



               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Changing soundset of NPC script?
« Reply #2 on: May 06, 2015, 01:05:18 pm »


               

If multiplayer, and you have nwnx, you can do this. Otherwise, what Proleric said.



               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Changing soundset of NPC script?
« Reply #3 on: May 06, 2015, 01:06:19 pm »


               


I may be wrong, but I don't think there is a function for this.


 


What you can do is make two blueprints in the creature palette, one male, the other female, then use CreateObject in game to spawn the chosen NPC at a waypoint.




.... or just leave the soundset field blank on the NPCs.


               
               

               
            

Legacy_pamelahoward

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Changing soundset of NPC script?
« Reply #4 on: May 06, 2015, 01:36:24 pm »


               


.... or just leave the soundset field blank on the NPCs.




Well, my question was referring to wanting a soundset. So their answer is fine.


 


BUT funnily enough I think it would be best to clear the soundset.