PresetManager:GetEntityDataLocation

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetEntityDataLocation( * The type name of the derived Entity. Ownership is NOT transferred!
  • The preset name of the derived Entity preset.
  • Which module to try to get the entity from. If it's not found there, the official modules will be searched also. )
Description:
Gets the data file path of a previously read in (defined) Entity.
ReturnsThe file path of the data file that the specified Entity was read from. If no Entity of that description was found, "" is returned.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools