the Sim Settlements forums!

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Question Auto-assignment still happening after disabling in MCM

Tron91

New Member
Messages
1
@kinggath
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
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.
 
Last edited:
I reported this here:
I also found a bug in the SS2 code. It is submitted as issue #596
It would seem that was the issue, as for the last few patches (up to 2.0.0L) it seems to be resolved! :)
 
Top