- Jul 18, 2010
- 34
- 2
Hey, i was just wondering if there was any way to have an entity generate a random number...its hard to explain, but heres an example of a use for it:
You have 7 rooms, in room #1 there is a teleporter entrance.
Room numbers 2,3,4,5,6,7 (All named their numbers) have a teleporter exit.
So is there any way to make it so that the entrance will teleport a player to any of the other rooms at random? So, a player spawns and enters the teleporter and goes to room 3, another player spawns and enters into the teleporter and goes to room 6, etc.
Thanks in advance.
You have 7 rooms, in room #1 there is a teleporter entrance.
Room numbers 2,3,4,5,6,7 (All named their numbers) have a teleporter exit.
So is there any way to make it so that the entrance will teleport a player to any of the other rooms at random? So, a player spawns and enters the teleporter and goes to room 3, another player spawns and enters into the teleporter and goes to room 6, etc.
Thanks in advance.