Calls the given callback function for each mod that is enabled.
Syntax
GetEnabledMods( <callback> )
- callback: The callback that will be called for each enabled mod.
- This callback is given one argument:
- ModInternalName: The InternalName of the mod.
- This callback must return true for the loop to continue.
- This callback is given one argument:
Examples
-- Print the InternalName of each enabled mod/hack
GetEnabledMods(function(ModInternalName)
print(ModInternalName)
return true
end)
Notes
No additional notes.
Version History
Unknown Version
Added this function.