-
Notifications
You must be signed in to change notification settings - Fork 6
Cross Mod Provided Support
direwolf420 edited this page Apr 22, 2025
·
1 revision
This mod provides ways for other mods to access, add, or modify things about this mod.
Mod Calls are special functions provided by tModLoader that mod creators can use to interact with ACT in certain ways. They are accessible through Mod.Call and a given call name; for more details, see the tModLoader wiki. This section lists the mod call functions ACT currently adds, along with examples and what they are used for.
To preface, all examples will be written within this block:
if (ModLoader.TryGetMod("AssortedCrazyThings", out Mod ACDMod))
{
//Example here
}- Options: "SoulHarvester"
- Return value:
boolrepresenting the downed status of the boss.nullif not found or invalid - Example:
if (ACTMod.Call("GetDownedBoss", "SoulHarvester") == true) DoSomethingSpecial();
This is the end of the page. Back to the top.