-
Notifications
You must be signed in to change notification settings - Fork 12
API
crash1115 edited this page May 18, 2021
·
4 revisions
These are the methods you can call from macros or your own module, if you so choose.
Ex: CrashTNT.updateActivity("Nazir", "Smithing Proficiency", 75)
Params
-
actorName
is a string that matches the name of the actor that owns the Tracked Item you'd like to change. It's case sensitive. -
itemName
is a string that matches the name of the Tracked Item you'd like to updatee. It's case sensitive. -
newProgress
is an integer. This is the value you'd like to set the item's progress to.
Returns
- Nothing. This method will update the selected Tracked Item, replacing the value of the
progress
property with the value provided.
Ex: CrashTNT.getActivitiesForActor("Mary Sue")
Params
-
actorName
is a string that matches the name of the actor you'd like to get activities for. It's case sensitive.
Returns
- An array of objects
Ex: CrashTNT.getActivity("Val Fletcher", "Craft Magic Armor")
Params
-
actorName
is a string that matches the name of the actor that owns the Tracked Item you're trying to get. It's case sensitive. -
itemName
is a string that matches the name of the Tracked Item you're trying to get. It's case sensitive.
Returns
- An single object
Last Updated | C. Ash | 21 SEP 2021 | Version 0.6.5