Scriptname aHH0JailTriggerScript extends ObjectReference  

Actor Property playerref Auto ; Least 'costly' way to refer to the player
Objectreference property aHHJail1REF auto
Objectreference property aHHJail2REF auto
Objectreference property aHHJail3REF auto
Objectreference property aHHJail4REF auto
Objectreference property aHH0JaillPullREF auto


Event OnTriggerEnter(ObjectReference akActionRef)
	If akActionRef == PlayerREF ; This condition ensures that only the player will trigger this code
		SetJail()
		Utility.wait(2)
		aHH0JaillPullREF.enable()
	EndIf
EndEvent

Function SetJail()
	aHHJail1REF.enable()
	aHHJail2REF.enable()
	aHHJail3REF.enable()
	aHHJail4REF.enable()
EndFunction

