Wikia

HammerWiki

File

6,439pages on
this wiki
Comments0

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.

Around Wikia's network

Random Wiki