Author Topic: Adding Scripts from .xml notepad mods?  (Read 141 times)

ninekorn

  • Newbie
  • *
  • Posts: 41
    • View Profile
Adding Scripts from .xml notepad mods?
« on: July 09, 2017, 10:12:41 pm »
Hi!
I wanted to know if its possible to link a script Inside a .xml file found in the weapons folder of data directly to a script? for example:

<data>
       <script>

       </script>
</data>

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 989
    • View Profile
Re: Adding Scripts from .xml notepad mods?
« Reply #1 on: July 09, 2017, 10:14:37 pm »
Hi,

no, it's not possible to inline the script code into XML. The script files should be separate from XML.

Regards!