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

ninekorn

  • Full Member
  • ***
  • Posts: 231
    • 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: 2017
    • 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!