[Custom Dungeon Script Issues] Random Teleporter
- David Ward
- Posts: 103
- Joined: Wed Jan 07, 2015 11:44 pm
- Location: Vancouver, BC, Canada
[Custom Dungeon Script Issues] Random Teleporter
My friend and I are trying to create a set of branching pathways through dungeons, and the best way to design this so far is to have teleporters that, for example, send the player to 1 of 3 locations, randomly. The problem is, we have no idea how to begin scripting something like that. Is there anything in scripting that can randomly generate a number, and then have a teleporter function differently depending on the number generated?