Author Topic: Faction chest  (Read 1273 times)

Legacy_Dabba

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Faction chest
« on: August 03, 2015, 09:05:00 pm »


               

Hi,


I've created a faction in my module, made it neutral toward the player and then added a chest that belongs to the faction.    Now I'd like to make the faction attack when the player try to open or bash the chest but can't do it.    Any suggestions, please?       



               
               

               
            

Legacy_werelynx

  • Hero Member
  • *****
  • Posts: 1110
  • Karma: +0/-0
Faction chest
« Reply #1 on: August 04, 2015, 12:22:12 pm »


               

Make OnOpen and OnAttack scripts for the chest that change reputation of faction an make them attack. Use Lilac's Soul Script generator if you can't script on your own.



               
               

               
            

Legacy_Dabba

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Faction chest
« Reply #2 on: August 07, 2015, 12:23:11 pm »


               


Make OnOpen and OnAttack scripts for the chest that change reputation of faction an make them attack. Use Lilac's Soul Script generator if you can't script on your own.




 


werelynx thank you twice:   first because you answered my question, second because you answere despite I posted, I realized after, in the wrong section.   


 


 Anyway I followed your advise and I managed to make the Leader of the faction attacks player when he tries to force the chest, sadly other faction members, that are very close to the leader, wait until player fights against the leader.          


 


It's better than nothing, but not perfect, I tried to change "faction" disposition in the script made with Lilac Script generator, but the result is that above.