generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: This place has no logic.

Previous Thread :: Next Thread 
KittehCatten is not online. KittehCatten
Joined: 22 Jul 2012
Total Posts: 509
30 Jan 2016 03:21 PM
This was my question.

I've got a script for reading player's group alignments and appropriately placing them in teams. It seems to work fine, the players are being assigned TeamColors (For example, a BrickColor.new("Medium blue")) and if you go into the player's properties while in studio you can see their TeamColor changes to represent their appropriate group alignment. Scripts can read this value and interact with the player accordingly.
The problems regard the player's Team alignment in-game and their spawnpoints.
Players on the Medium blue TeamColor are not being assigned to the Medium blue Team and will not spawn on Medium blue spawns.
Did Roblox change something regarding teams? Is there a value that I should be changing that I'm not? I've used this same method for changing a player's team in previous games and it worked perfectly. Why is it not working now?
If you want script chunks to examine, tell me.

Short Version - Players assigned to a TeamColor won't be part of their respective Team or spawn on their respective spawns. Reading off the TeamColor works perfectly, though.


This was my answer.

Set one team to AutoAssignable.

Somebody explain what happened and why please.


Report Abuse
wonderful72pike is online. wonderful72pike
Joined: 13 Jul 2010
Total Posts: 7009
30 Jan 2016 03:24 PM
You had a problem that none of us knew the solution to, it wasn't a scripting question so this isn't really something one of us would know off the top of our heads unless we had the issue before.

Here's my question to you: was there a team called Neutral created? How were the players not on any team?
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
30 Jan 2016 03:25 PM
Did you turn the property called "Neutral" off?
Report Abuse
KittehCatten is not online. KittehCatten
Joined: 22 Jul 2012
Total Posts: 509
30 Jan 2016 03:30 PM
I assume you're speaking of the property of SpawnPoints, and I can assure you that I did.

A team called Neutral was created. It had a TeamColor of White. Since there is no Neutral spawn, players would spawn outside the map and fall into the void.


Report Abuse
wonderful72pike is online. wonderful72pike
Joined: 13 Jul 2010
Total Posts: 7009
30 Jan 2016 03:31 PM
That is not normal. Please mention something like that next time you post, I would've known what it was right away. Sorry.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
30 Jan 2016 03:34 PM
No, I am talking about Player.Neutral.
Report Abuse
KittehCatten is not online. KittehCatten
Joined: 22 Jul 2012
Total Posts: 509
30 Jan 2016 03:42 PM
Player.Neutral was not intentionally enabled by any scripts.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image