This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "User:Candlemaster/Item Sorter"

Jump to navigation Jump to search
imported>Candlemaster
imported>Candlemaster
Line 56: Line 56:
endif
endif
End</pre>
End</pre>
This is my first rendition of an OBSE-using ingredient sorter. Notice "GetObjectType == 25" which checks if the object is, in fact, an ingredient.  For more codes like this, see [GetObjectType].  Useful codes (For this purpose) seem to be:
This is my first rendition of an OBSE-using ingredient sorter.


After testing this script, nothing happens when "Sort Ingredients" is chosen, but "Open Container" works fine.
After testing this script, nothing happens when "Sort Ingredients" is chosen, but "Open Container" works fine.


It appears that the problem may have been "GetObjectType".  Instead, I'll try using OBSE's "IsIngredient" function.  List of such functions:
It appears that the problem may have been "GetObjectType".  Instead, I'll try using OBSE's "IsIngredient" function.  List of such functions:
*[IsAlchemyItem]
*[[IsAlchemyItem]]
*[IsAmmo]
*[[IsAmmo]]
*[IsApparatus]
*[[IsApparatus]]
*[IsArmor]
*[[IsArmor]]
*[IsBook]
*[[IsBook]]
*[IsClonedForm]
*[[IsClonedForm]]
*[IsClothing]
*[[IsClothing]]
*[IsContainer]
*[[IsContainer]]
*[IsFood]
*[[IsFood]]
*[IsIngredient]
*[[IsIngredient]]
*[IsKey]
*[[IsKey]]
*[IsLight]
*[[IsLight]]
*[IsLightCarriable]
*[[IsLightCarriable]]
*[IsPlayable]
*[[IsPlayable]]
*[IsPoison]
*[[IsPoison]]
*[IsQuestItem] (important)
*[[IsQuestItem]] (important)
*[IsScripted]
*[[IsScripted]]
*[IsSigilStone]
*[[IsSigilStone]]
*[IsSoulGem]
*[[IsSoulGem]]
*[IsWeapon]
*[[IsWeapon]]
Anonymous user

Navigation menu