[Custom Dungeon Script Issues] Random Teleporter

Have trouble running Legend of Grimrock 2 or do you have questions about the purchasing options? Look for help here.
Post Reply
User avatar
David Ward
Posts: 103
Joined: Wed Jan 07, 2015 11:44 pm
Location: Vancouver, BC, Canada

[Custom Dungeon Script Issues] Random Teleporter

Post by David Ward »

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?
Post Reply