@kinggath
Found this block of code in WorkshopParentScript.psc
Is that intentional? I mean the return values assigned to 1?
Edit:
Seems auto-assignment problems got fixed after I deleted the "== 1" entries and recompiled the script.
Found this block of code in WorkshopParentScript.psc
Code:
Bool Property AutoAssignBeds
Bool Function Get()
return (WSFW_Setting_AutoAssignBeds.GetValue() == 1)
EndFunction
Function Set(Bool aValue)
if(aValue)
WSFW_Setting_AutoAssignBeds.SetValue(1)
else
WSFW_Setting_AutoAssignBeds.SetValue(0)
endif
EndFunction
EndProperty
Bool Property AutoAssignFood
Bool Function Get()
return (WSFW_Setting_AutoAssignFood.GetValue() == 1.0)
EndFunction
Function Set(Bool aValue)
if(aValue)
WSFW_Setting_AutoAssignFood.SetValue(1)
else
WSFW_Setting_AutoAssignFood.SetValue(0)
endif
EndFunction
EndProperty
Bool Property AutoAssignDefense
Bool Function Get()
return (WSFW_Setting_AutoAssignDefense.GetValue() == 1.0)
EndFunction
Function Set(Bool aValue)
if(aValue)
WSFW_Setting_AutoAssignDefense.SetValue(1)
else
WSFW_Setting_AutoAssignDefense.SetValue(0)
endif
EndFunction
EndProperty
Edit:
Seems auto-assignment problems got fixed after I deleted the "== 1" entries and recompiled the script.
Last edited: