- Joined
- Feb 3, 2007
- Messages
- 1,095
Im currently making a super secret RPG, and I've run into some issues.
First off, I am using the random integer function for players to "roll" a number between 1-100 (for deciding who gets loot) Im having trouble actually displaying that number saying PlayerX rolled a 32, or whatever. Is there a way I can put a stored integer variable into a string?
Secondly, Im trying to devise a system where if you defeat a boss, you will be transported to your own personal loot room, like D3fi4nce's ORPG. For those of you who havent played Defiance, when a boss in a dungeon dies, players within a certain range are transported to their own rooms. (Player 1 moves to player 1's vault, player 2 to player 2's designed room, etc.). Im using stored hero variables to keep track of all the player's characters, but Im wondering how I can move only those in range of the boss to their loots, and to their corresponding rooms.
If anyone could help, rep and cookies to them.
First off, I am using the random integer function for players to "roll" a number between 1-100 (for deciding who gets loot) Im having trouble actually displaying that number saying PlayerX rolled a 32, or whatever. Is there a way I can put a stored integer variable into a string?
Secondly, Im trying to devise a system where if you defeat a boss, you will be transported to your own personal loot room, like D3fi4nce's ORPG. For those of you who havent played Defiance, when a boss in a dungeon dies, players within a certain range are transported to their own rooms. (Player 1 moves to player 1's vault, player 2 to player 2's designed room, etc.). Im using stored hero variables to keep track of all the player's characters, but Im wondering how I can move only those in range of the boss to their loots, and to their corresponding rooms.
If anyone could help, rep and cookies to them.