Fandom

HammerWiki

File

6,449pages on
this wiki
Add New Page
Comments0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

File is a MOD File element. It is used to define a specific file which makes up part of the AddOn.

AttributesEdit

name (string)
the name of the file relative to the directory the MOD file is located.

ParentsEdit

ChildrenEdit

None known.

ExampleEdit

Assuming the file SuperMOD.lua is in the same directory as the MOD file:

<File name="SuperMOD.lua" />

If the file is located in a subdirectory, such as Source/SuperMOD.xml then it must be referenced as such in the File element:

<File name="Source/SuperMOD.xml" />

All official files use forward slashes ('/') for path directory delimiters, however it may be possible to use back slashes.

Also on Fandom

Random Wiki