Difference between revisions of "ObjectReference Script"

434 bytes added ,  14:30, 21 October 2012
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 ==
Anonymous user