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 » Scripting Helpers
Home Search
 

Re: Map Choosing Error

Previous Thread :: Next Thread 
younggoku900 is not online. younggoku900
Joined: 11 Apr 2012
Total Posts: 2547
08 Dec 2012 06:52 PM
This should choose a map I built and put in lighting. (Script: for i = 1, Amount do
P = game.Lighting.Pad:Clone()
P.Parent = MapS.Spawns
wait()
P.Part.CFrame = CFrame.new(center.x+math.sin(math.rad(360/steps*i))*Spawn_Radius,center.y,center.z+math.cos(math.rad(360/steps*i))*Spawn_Radius)*CFrame.fromEulerAnglesXYZ(0,math.rad(360/steps*i)+math.rad(360),0)
P.Top.Position = P.Part.Position + Vector3.new(0,0.1,0)
table.insert(Spawns, P)
end

But I will only work for scripts that build the map when told to.
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
08 Dec 2012 07:16 PM
"scripts that build the map when told to"

Please explain so people understand
Report Abuse
younggoku900 is not online. younggoku900
Joined: 11 Apr 2012
Total Posts: 2547
08 Dec 2012 08:15 PM
Sorry I was eating when I wrote that. I meant Terrain Generation Scripts.
Report Abuse
caicardona is not online. caicardona
Joined: 28 Apr 2012
Total Posts: 116
08 Dec 2012 08:25 PM
Spawns = {} at top..
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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