InfiniteAmmoInc / Yarn

934 stars 93 forks source link

SetValue turns Number into Bool #75

Closed netherchef closed 5 years ago

netherchef commented 5 years ago

Hi guys, I've got:

variableStorage.SetValue ( "$QuestProgress", new Yarn.Value (quest.activeQuestProgress) );

"activeQuestProgress" is an INT, but when I print it it shows up as True. How would I add an INT variable to the Variable Storage? Thanks in advance!

netherchef commented 5 years ago

Just realised I had "asBool" in the print. Going to go stick my head in a fryer now.