first, you need to create the different rooms:
(You should be able to do this hopefully)
second, you need a (local:room) counter for your event in~for that room:
room_0.nietsch_read_quantity_integer = 0
room_0.nietsch_read_quantity_integer = game.nietsch_read_quantity_integer + 1
third, you need a (local:room) Turnscript:
if (game.nietsch_read_quantity_integer = 0) {
(see below for script choices)
} else if (game.nietsch_read_quantity_integer = 1) {
(see below for script choices)
} // etc etc etc
'probability' scripts and rest of scripts:
GetRandomInt (min_value,max_value)
or
RandomChance (percentage value:0 to 100)
// it's a boolean, using a percentage, if (100 ---> 100% of being true = true), then do script1, else if (...), else (...)
if (RandomChance (50) = true)
50% of the time: if (true = true), then will DO script1
50% of the time: if (false = true), then will NOT do script1
if (RandomChance (50) = false)
50% of the time: if (true=false), then will NOT do script1
50% of the time: if (false = false), then will DO script1
if (RandomChance(100) = true)
100% of the time: if (true = true), then will DO script1, but this is 100%, so this will ALWAYS happen
0% of the time: if (false = true), then will NOT do script1
if (RandomChance(0) = true)
0% of time: if (true = true), then will DO script1, but it's 0%, so this will NEVER happen
100% of time: if (false = true), then will NOT do script 1, but it's 100%, so this will NEVER do script1
if (RandomChance(100) = false)
100% of the time: if (true = false), then will NOT do script1, but it's 100%, so this will NEVER do script1
0% of the time: if (false = false, then will DO script 1, but it's 0%, so this will NEVER happen
if (RandomChance(0) = false)
0% of the time: if (true = false), then will NOT do script1, but it's 0%, so this will NEVER happen
100% of the time: if (false = false), then will DO script1, but it's 100%, so will this ALWAYS DO script1
hopefully, you understand this now, and thus will understand:
if (RandomChance(75) = true)
if (RandomChance(25) = true)
if (RandomChance(75) = false)
if (RandomChance(25) = true)
// -------------------------
// so, in full:
if (game.nietsch_read_quantity_integer = 0) {
if (GetRandomInt(0,0 = 0) {
player.parent=room_0
}
} else if (game.nietsch_read_quantity_integer = 1) {
if (GetRandomInt(0,1) = 0) {
player.parent=room_0
} else if (GetRandomInt(0,1) = 1) {
player.parent=room_1
}
} // etc etc etc
// OR
if (game.nietsch_read_quantity_integer = 0) {
if (RandomChance (100) = true) {
player.parent=room_0
}
} else if (game.nietsch_read_quantity_integer = 1) {
if (RandomChance(90) = true) {
player.parent=room_0
} else {
player.parent=room_1
}
} else if (game.nietsch_read_quantity_integer = 2) {
if (RandomChance(50) = true) {
player.parent=room_0
} else if (RandomChance(90) = true) {
player.parent=room_1
} else {
player.parent=room_2
} // etc etc etc