|
|
@ -5,7 +5,7 @@ _00E_PlayerhousingMaster Property master auto |
|
|
|
GlobalVariable Property _00E_NQ24_PlayerHouseOwned Auto |
|
|
|
GlobalVariable Property _00E_NQ24_PlayerHouseOwned Auto |
|
|
|
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef) |
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef) |
|
|
|
if akActionRef == Game.getPlayer() |
|
|
|
if akActionRef == Game.GetForm(0x14) && SKSE.GetVersion() |
|
|
|
master.enableBuildmode() |
|
|
|
master.enableBuildmode() |
|
|
|
if _00E_NQ24_PlayerHouseOwned.GetValueInt() == 0 |
|
|
|
if _00E_NQ24_PlayerHouseOwned.GetValueInt() == 0 |
|
|
|
_00E_NQ24_PlayerHouseOwned.SetValueInt(1) |
|
|
|
_00E_NQ24_PlayerHouseOwned.SetValueInt(1) |
|
|
@ -14,7 +14,7 @@ Event OnTriggerEnter(ObjectReference akActionRef) |
|
|
|
EndEvent |
|
|
|
EndEvent |
|
|
|
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef) |
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef) |
|
|
|
if akActionRef == Game.getPlayer() |
|
|
|
if akActionRef == Game.GetForm(0x14) |
|
|
|
master.disableBuildmode() |
|
|
|
master.disableBuildmode() |
|
|
|
endif |
|
|
|
endif |
|
|
|
EndEvent |
|
|
|
EndEvent |