4
Fork 0

Do not go into the buildmode without SKSE

development
Eddoursul 3 months ago
parent 0d28276096
commit 4deaa231ed
  1. BIN
      scripts/_00e_playerhousingenablebuilmodeoe.pex
  2. 4
      source/scripts/_00e_playerhousingenablebuilmodeoe.psc

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