-
Notifications
You must be signed in to change notification settings - Fork 12
Lua:Sidedef
see the doomwiki article on Sidedef
the name of the upper texture. the empty/blank texture is "-". see also Data
the name of the middle texture. the empty/blank texture is "-". see also Data
the name of the lower texture. the empty/blank texture is "-". see also Data
gets the editor index of the map element.
note: the value returned will be 0-indexed, like the map format, whereas the tables in Lua start at 1.
note 2: this number can change any time you add or remove map elements. sometimes elements are added at the beginning or middle instead of the end. the manner in which it changes is unpredictable and subject to change between doom builder versions.
returns true
if this is the front of the line, false
if not
gets the angle of the line
gets the sidedef at the other side of the line, or returns nil
if it doesn't exist
gets the sector associated with this sidedef
gets the linedef that owns this sidedef