can a success/fail roll be used on an exit? I have an exit that I want to have send you to a death room 30% of the time, and the rest of the time send you to the next room on the map.
Yup. Although, it wouldn't be a "dice roll" but a random chance instead.
if (RandomChance(30)) {
MoveObject (player, roomnamehere)
}
else {
MoveObject (player, roomnamehere)
}
Hope that helps!