OnTrackedStatsEvent issues

Post » Mon Jun 18, 2012 9:32 pm

OnTrackedStatsEvent seems to work for some stats and not others. For instance, stealing an item triggers an event while eating food does not, yet both are tracked Stats and register an numeric increase in the UI when performing the action. Am i missing something?

Event OnTrackedStatsEvent(string asStatFilter, int aiStatValue)   Debug.MessageBox("an event happened") endEvent
User avatar
StunnaLiike FiiFii
 
Posts: 3373
Joined: Tue Oct 31, 2006 2:30 am

Post » Mon Jun 18, 2012 10:30 pm

Yes you missed something as did I when I was looking into it.
From the wiki www. creationkit .com / GetPCMiscStat

Not all of the miscstats are tracked by the game.
In other words it just adds values to variables. Sadly there's no list of what stats are actually tracked by the game and fire events at the wiki page.

Description
Returns value of misc stat for Player
...
Notes
Here are the different string ID's for the misc stats:
General
Locations Discovered
Dungeons Cleared
Days passed
Hours Slept
Hours Waiting
Standing Stones Found
Gold Found
Most Gold Carried
Chests Looted
Skill Increases
Skill Books Read
Food Eaten
Training Sessions
Books Read
Horses Owned
Houses Owned
Stores Invested In
Barters
Persuasions
Bribes
Intimidations
Diseases Contracted
Quest
Quests Completed
Misc Objectives Completed
Main Quests Completed
Side Quests Completed
The Companions Quests Completed
College of Winterhold Quests Completed
Thieves' Guild Quests Completed
The Dark Brotherhood Quests Completed
Civil War Quests Completed
Daedric Quests Completed
Questlines Completed
Combat
People Killed
Animals Killed
Creatures Killed
Undead Killed
Daedra Killed
Automatons Killed
Favorite Weapon
Critical Strikes
Sneak Attacks
Backstabs
Weapons Disarmed
Brawls Won
Bunnies Slaughtered
Magic
Spells Learned
Favorite Spell
Favorite School
Dragon Souls Collected
Words Of Power Learned
Words Of Power Unlocked
Shouts Learned
Shouts Unlocked
Shouts Mastered
Times Shouted
Favorite Shout
Crafting
Soul Gems Used
Souls Trapped
Magic Items Made
Weapons Improved
Weapons Made
Armor Improved
Armor Made
Potions Mixed
Potions Used
Poisons Mixed
Poisons Used
Ingredients Harvested
Ingredients Eaten
Nirnroots Found
Wings Plucked
Crime
Total Lifetime Bounty
Largest Bounty
Locks Picked
Pockets Picked
Items Pickpocketed
Times Jailed
Days Jailed
Fines Paid
Jail Escapes
Items Stolen
Assaults
Murders
Horses Stolen
Trespasses

User avatar
Alexander Lee
 
Posts: 3481
Joined: Sun Nov 04, 2007 9:30 pm

Post » Mon Jun 18, 2012 9:32 pm

yes I had found that as a workaround...just was hoping there was a way to use the TrackedStatEvent

thanks for the reply and the list!

anyway to tell which ones will work with TrackedStatEvent ?
i guess i could write a script to check them all
User avatar
Kelly James
 
Posts: 3266
Joined: Wed Oct 04, 2006 7:33 pm

Post » Tue Jun 19, 2012 7:30 am

If you get around to figure out what stats work with TrackedStatEvents please share and update the creationkit wiki.
Thank you.
User avatar
Scott
 
Posts: 3385
Joined: Fri Nov 30, 2007 2:59 am


Return to V - Skyrim