Difference between revisions of "Form Script"

1,829 bytes added ,  00:44, 22 October 2017
Add missing F4SE member functions
imported>Tania
imported>ShadeMe
(Add missing F4SE member functions)
Line 36: Line 36:
*string Function [[GetName - Form|GetName]]()
*string Function [[GetName - Form|GetName]]()
**Returns this form's name as a string.
**Returns this form's name as a string.
*Function [[SetName - Form|SetName]]()
 
**Sets this form's name to the passed in string.
*string Function [[GetDescription - Form|GetDescription]]()
**Returns this form's description as a string.
 
*Enchantment Function [[GetEnchantment - Form|GetEnchantment]]()
**Returns this form's enchantment.
 
*int Function [[GetEnchantmentValue - Form|GetEnchantmentValue]]()
**Returns this form's enchantment's value.
 
*EquipSlot Function [[GetEquipType - Form|GetEquipType]]()
**Returns this form's Equip Slot.
 
*string Function [[GetIconPath - Form|GetIconPath]]()
**Returns this form's icon path as a string.
 
*Keyword[] Function [[GetKeywords - Form|GetKeywords]]()
**Returns this form's keywords.
 
*string Function [[GetMessageIconPath - Form|GetMessageIconPath]]()
**Returns this form's message icon path as a string.
 
*string Function [[GetWorldModelPath - Form|GetWorldModelPath]]()
**Returns this form's world model path as a string.
 
*float Function [[GetWeight - Form|GetWeight]]()
**Returns this form's weight as a float.
 
*bool Function [[HasWorldModel - Form|HasWorldModel]]()
**Returns if this form has a world model.
 
*Function [[SetName - Form|SetName]](string asName)
**Set this form's name.
 
*Function [[SetEnchantment - Form|SetEnchantment]](Enchantment akNewEnchant)
**Set this form's enchantment.
 
*Function [[SetEnchantmentValue - Form|SetEnchantmentValue]](int aiValue)
**Set this form's enchantment's value.
 
*Function [[SetEquipType - Form|SetEquipType]](EquipSlot akType)
**Set this form's Equip Slot.
 
*Function [[SetIconPath - Form|SetIconPath]](string asPath)
**Set this form's icon path.
 
*Function [[SetMessageIconPath - Form|SetMessageIconPath]](string asPath)
**Set this form's message icon path.
 
*Function [[SetWorldModelPath - Form|SetWorldModelPath]](string asPath)
**Set this form's world model path.
 
*Function [[SetWeight - Form|SetWeight]](float afWeight)
**Set this form's weight.
 
*Function [[SetGoldValue - Form|SetGoldValue]](int aiValue)
**Set this form's gold value.


== Events ==
== Events ==
None
None
Anonymous user