Difference between revisions of "ObjectReference Script"
→SKSE Member Functions
imported>Cipscis (→Properties: Added Motion properties) |
imported>Dienes |
||
Line 427: | Line 427: | ||
'''bool Function [[IsHarvested - ObjectReference|IsHarvested]]()''' | '''bool Function [[IsHarvested - ObjectReference|IsHarvested]]()''' | ||
* (Flora and Tree only) Returns whether the flora has been harvested or not. | * (Flora and Tree only) Returns whether the flora has been harvested or not. | ||
'''Function [[SetItemHealthPercent - ObjectReference|SetItemHealthPercent]](float health)''' | |||
* Set the item's tempering. 1.0 is no tempering, 1.6 appears to be legendary. Values below 1.0 do nothing. | |||
'''float Function [[GetItemMaxCharge - ObjectReference|GetItemMaxCharge]]()''' | |||
'''float Function [[GetItemCharge - ObjectReference|GetItemCharge]]()''' | |||
'''Function [[SetItemCharge- ObjectReference|SetItemCharge]](float charge)''' | |||
== Events == | == Events == |