You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
Scriptname _00E_PlayerhousingEnableBuilmodeOE extends ObjectReference
|
|
|
|
|
|
|
|
_00E_PlayerhousingMaster Property master auto
|
|
|
|
|
|
|
|
GlobalVariable Property _00E_NQ24_PlayerHouseOwned Auto
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if akActionRef == Game.GetForm(0x14) && SKSE.GetVersion()
|
|
|
|
master.enableBuildmode()
|
|
|
|
if _00E_NQ24_PlayerHouseOwned.GetValueInt() == 0
|
|
|
|
_00E_NQ24_PlayerHouseOwned.SetValueInt(1)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
if akActionRef == Game.GetForm(0x14)
|
|
|
|
master.disableBuildmode()
|
|
|
|
endif
|
|
|
|
EndEvent
|