- How do you make it so that a citizen has a 50% chance of going a different way at a road junction. I know it uses ifrandom, but I don't understand how to use it
With the new VCE, theres two ways of doing it. The old way, and the new way. The new way takes up three lines of events, but it can have x/infinate, and the Old way is one line, but can only be x/6, but you can use LessThan etc to make it 1/2. Heres how to do it:
New Way:
OnInput > Self > VCE_ModVariable > "rand" "set" "1(More is complexer)"
OnInput > Self > VCE_ModVariable > "rand" "randomVar(Or something)" "(Whatever its out of)"
OnInput > Self > VCE_IfVariable > "rand" "Equals(Or whatever)" "1" "[Subs]"
Old Direct Way:
OnInput > Self > VCE_RetroCheck > "IfRandomDice" "LessThan" "4" "[Subs]"
New Direct Way:
OnInput > Self > VCE_ModVariable > "rand" "set" "1"
OnInput > Self > VCE_ModVariable > "rand" "randomVar" "2"
OnInput > Self > VCE_IfVariable > "rand" "Equals" "1" "[Subs]"
Both are included in the lastest VCE. IfRandomDice is basicly random 1-6, as you can roll on an six sided dice.
Hope i helped :P