Do not go into the buildmode without SKSE
This commit is contained in:
parent
0d28276096
commit
4deaa231ed
Binary file not shown.
@ -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
|
Loading…
x
Reference in New Issue
Block a user