tyoeer / Chaoshead

A level editor, scripting interface, campaign editor, and reverse engineering tool for Levelhead
Apache License 2.0
4 stars 1 forks source link

Better method of checking if an object is a specific element #28

Closed tyoeer closed 1 year ago

tyoeer commented 1 year ago

The current best method using public documented stuff is to compare the name. Option A: Make the LH data interface public, so the ID of a specific elements can be gotten and then compared Option B: Add Obj:is[element]()