Talk:Ingredient Script

From the CreationKit Wiki
Jump to navigation Jump to search

Is there honestly no way to check if the player currently knows the effect at the Nth index of this invisible list? I can think of many uses for such a function; sorting ingredients by known effect for example, sending all ingredients with the "Damage Health" effect to a certain container.

It would be extremely helpful to be able to check if the player knows the effect at a given index (0,1,2,3) of the four possible effects on any ingredient, and return that effect if it is known.

--Phinix (talk) 19:10, 14 August 2012 (EDT)

It is now possible with GetIsNthEffectKnown() using SKSE. (Yes, it's an old comment. But I don't know about deleting irrelevant comments, and plus, it is still relevant if not using SKSE. I just didn't like the talk page consisting entirely of "This isn't possible?") I actually never considered either of those two situations. I wanted to sort ingredients, and I also wanted to unlock certain effects, both of which required this function before it existed. Thankfully (thank you SKSE team), it is now doable. --Xander9009 (talk) 2014-07-29T17:26:27 (EDT)