|
Ah. I wouldn't know, I've had a userscript removing the forum from the list for almost a year now. |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
He speaks the truth. I tried to troll to get kicked out, but they're actually helpful. It's refreshing. RT and OT are still hell as usual, though. |
|
|
In other news, anyone have any interesting projects happening right now? I'm starting on a turn-based strategy game (with hexagons! because hexagons!) that should be decent if I ever finish it. |
|
kilkil912Join Date: 2011-08-27 Post Count: 1288 |
I've been working on trying to create a win detection script. I need it to detect when all the players are dead then remove the floor from the world replace said floor after about 10 seconds. While if 1 or more players are alive to teleport them to the spectators box and remove the baseplate and replace it once again. While announcing the winners and awarding them a point. For surviving the round. I am struggling very much any help Mem? |
|
|
Assuming you know how to perform each operation, it should look something like this:
To get the number of players currently alive:
- Loop through all players.
- For each player, if that player has a character and a Humanoid object in their character, check if their Health is greater than 0. If it is, add them to your results table.
- Return the length of your results table.
When a player dies, do the following:
- Check if the number of players alive is equal to 0 (unlikely unless you're using custom spawns)
- If so, teleport the living players to the spectator box and display a message that those players won.
- If not, don't teleport them and display a message that nobody won.
- Remove the map from workspace.
- Sleep 10 seconds.
- Clone the map from somewhere and parent the clone to workspace. |
|
kilkil912Join Date: 2011-08-27 Post Count: 1288 |
Thanks, i think I can do something with that. I appreciate it. |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
|
|
|
10/10
In the meantime, I have a hex grid thing working that you can see here:
http://www.roblox.com/--place?id=211745368 |
|
kilkil912Join Date: 2011-08-27 Post Count: 1288 |
@mem You should add some kinda of random wind to the arrows/bolts so they don't go right to the target but move to the left or the right depending on the variable |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
@mem Very nice! Is the RTS going to be... Conquerors - ish? Sid meiers - ish? |
|
|
Turn-based strategy kind of like Civ, but not a Civ clone. |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
pls... Just remember to have a time limit on your turns. You don't want someone to go AFK or just troll and completely stall a game. |
|
|
Already considered.
45 seconds per turn max, 100 turns per game, teams that don't have a player will skip their turns, etc. Theoretically the longest possible game is 7.5 hours, but I doubt that will happen. |
|
|
Forgot about this thread for a while, been really just playing CS:GO |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
Durn |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
@kilkil - Assuming that was actually directed towards me. Bolts now don't stack on top of each other, have a chance of destroying other bolts, are affected by gravity, and have a little bit of a distance based spread. |
|
|
So. Friends->Followers. Now I have a better reason to decline alllll the FRs. |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
XD |
|
NyxisJoin Date: 2012-11-15 Post Count: 3374 |
I believe this update has started more of an uproar than the Price Floor, yes?
I don't mind it. |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
I don't know... Price floor was *pretty bad*
Haha, all it takes to get your friends back is send them another friend request and hope they don't hate you. |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
Well, at least whitespace is not removed in forum posts now. [+1 Scripting Legibility] - Plus ROBLOX is pumping out some really neat features lately. I was so happy for folders. :P |
|
NyxisJoin Date: 2012-11-15 Post Count: 3374 |
I usually use the Configuration instance to organize stuff. I guess this solves that. |
|
|
Folders are the best for storing items now because they have absolutely no overhead. |
|
kilkil912Join Date: 2011-08-27 Post Count: 1288 |
Yeah Pose that was for you. I must have mixed up you two sorry about that. |
|
PoseidasJoin Date: 2008-11-23 Post Count: 2659 |
|
|