Difference between revisions of "ObjectReference Script"

127 bytes added ,  01:01, 26 February 2013
→‎SKSE Member Functions: minor descriptions for GetItemCharge,SetItemCharge and GetItemMaxCharge. also minor edit to SetItemCharge link.
imported>Dienes
imported>Wafflesalot
(→‎SKSE Member Functions: minor descriptions for GetItemCharge,SetItemCharge and GetItemMaxCharge. also minor edit to SetItemCharge link.)
Line 432: Line 432:


'''float Function [[GetItemMaxCharge - ObjectReference|GetItemMaxCharge]]()'''
'''float Function [[GetItemMaxCharge - ObjectReference|GetItemMaxCharge]]()'''
* Gets the maximum charge of the item.


'''float Function [[GetItemCharge - ObjectReference|GetItemCharge]]()'''
'''float Function [[GetItemCharge - ObjectReference|GetItemCharge]]()'''
 
* Gets the current charge of the item.
'''Function [[SetItemCharge- ObjectReference|SetItemCharge]](float charge)'''
'''Function [[SetItemCharge - ObjectReference|SetItemCharge]](float charge)'''
*Sets the item's charge to the specified amount.


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