IsOffLimits - ObjectReference

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: ObjectReference Script

This Function will set a ObjectReference's charge to the specified amount.

Syntax

Bool Function IsOffLimits() native

Examples

ObjectReference ErikursBooze boozeRef  Auto  

Function takeButDontSteal()
	if boozeRef.IsOffLimits()
		boozeRef.Activate(playerRef) ; takes it
	endif
EndFunction

Notes

See Also