tototo Posted October 12, 2021 Share Posted October 12, 2021 (edited) Hi, I am currently trying to randomize a current happiness in my save and it just does not respect the limits I mentioned Example : =Box=2 .CurrentFriendship=$[161,188,212,225,247,251,255] => I tried $rand ; just $ and directly [] I receive values such as 57, 17, 188 etc that does not respect what I asked. Maybe it comes from a misuse ? PS : same result when I want to make a current level random Thank you in advance Edited October 12, 2021 by tototo Link to comment Share on other sites More sharing options...
Kaphotics Posted October 12, 2021 Share Posted October 12, 2021 The batch editor random is only a range of random values, not a pick-one-from-array random. Link to comment Share on other sites More sharing options...
tototo Posted October 12, 2021 Author Share Posted October 12, 2021 (edited) Yes but even if I just put $[160,255], I have sometimes (most of the times) values that aren't in this interval In fact it changes nothing, and I have to put four or five values into brackets to affect the happiness Edited October 12, 2021 by tototo Link to comment Share on other sites More sharing options...
Kaphotics Posted October 12, 2021 Share Posted October 12, 2021 Random range is $x,y Not $[x,y] Link to comment Share on other sites More sharing options...
tototo Posted October 13, 2021 Author Share Posted October 13, 2021 (edited) Thanks it works now! Edited October 13, 2021 by tototo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now