WEEK 2: Enhancing MoodsEXPLORING BEHAVIORS (continued)Close out of your current window and double click #4113 in the BHAV section. My chair's GUID number is in Line 1. Yours will be too, although it will be showing a different GUID number. Your GUID number. Check it against what you wrote down a minute ago to make absolutely sure.
Line 1 says: Test Object Type [type of Stack Object ID == GUID: 0E8AC4EA and right after, it has this: 7, 2 which means, "If this is your chair, go to Line 7 and follow directions. If it is NOT your chair, then go to line 2 and test to see if that's your chair. Those lines are commonly referred to as the "True/False lines". Since this IS my chair, I'm going to jump down to line 7 to see what that line is about. Line 7 says: my motives Comfort <= Constant 4097: 6 and right after it we have: 13, True. Translated, this line is telling us: If the Sim's comfort level is less than or equal to the amount of comfort the chair can give, than go ahead and increment the Sim's comfort level at ticks per hour equal to what we have stored in here (4097:6), then go to line 13 and follow directions there. If it IS NOT... if the Sim's comfort level is equal to or higher than what is shown in Constant 4097:6, then don't do anything at all (return TRUE). Line 13 says: my motives Comfort += Constant 4097:0 and then it says: True, Error. We interpret this line to mean: Increase the Sim's comfort level UP TO the amount shown in Constant 4097:0. Do it. And if you can't, then don't do anything at all (True, Error). That's all there is to Behavior #4113. We have successfully identified which Constants we need to alter to make our chair more comfortable and more pleasing. But as we noted earlier, these lines could all be grouped differently. Rewrite BHAV #4113 now and we'll take another look at it.
|