Author Topic: Automatic Loot System  (Read 347 times)

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
Automatic Loot System
« on: November 10, 2014, 04:19:20 pm »


               

Hello everybody,


 


I would like to modify the gold price in my game world. I realized that anyone NPC (not playabe character) can drop some gold even without having any script running in ondeath.


 


I would like to change the loot system. Where can I find the code?



               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Automatic Loot System
« Reply #1 on: November 10, 2014, 04:39:15 pm »


               

Random loot (including gold) is created in the OnSpawn event.



               
               

               
            

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
Automatic Loot System
« Reply #2 on: November 10, 2014, 05:05:38 pm »


               

Well-minded. Thank you very much.