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: No output or response.

Previous Thread :: Next Thread 
GuestCapone is not online. GuestCapone
Joined: 19 Oct 2012
Total Posts: 1928
01 Mar 2013 10:51 PM
Your going to need this model to test it:
http://www.roblox.com/Cells-item?id=108251069

Script:
----------------------------------------------------Maze Demensions
local MazeLong = 40
local MazeWide = 40
local StartPoint = Vector3.new(0, 0, 0) -- This is 0,0,0 in workspace I think.
local EndPoint = Vector3.new(0, 0, 800) -- x, y, z
----------------------------------------------------Maze Parts
local StartingPart = game.Lighting.Starting:Clone()
StartingPart.Name = "StartingPart"
local EndingPart = game.Lighting.Ending:Clone()
EndingPart.Name = "EndingPart"
local CornerPart = game.Lighting.Corner:Clone()
CornerPart.Name = "CornerPart"
local StraightPart = game.Lighting.Straight:Clone()
StraightPart.Name = "StraightPart"
local TsectionPart = game.Lighting.Tsection:Clone()
StraightPart.Name = "TsectionPart"
----------------------------------------------------------------------------------------------
local maze = Instance.new("Model")
maze.Parent = workspace
maze.Name = "Map"
print("Map Model Made")
----------------------------------------------------------------------------------------------
function MakeMaze()
Start = StartingPart:TranslateBy(Vector3.new(StartPoint)) --Start
End = EndingPart:TranslateBy(Vector3.new(EndPoint)) --End

end





----------------------------------------------------------------------------------------------
MakeMaze()

No output or response...

Am I doing something wrong?
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
01 Mar 2013 10:53 PM
You're not doing anything with 'Start' or 'End' in your function. What does TranslateBy do, anyway?
Report Abuse
GuestCapone is not online. GuestCapone
Joined: 19 Oct 2012
Total Posts: 1928
01 Mar 2013 10:57 PM
:TranslateBy() moves the whole model to those cords.

Um, what would I do to make Start and End become active?
Report Abuse
GuestCapone is not online. GuestCapone
Joined: 19 Oct 2012
Total Posts: 1928
01 Mar 2013 11:11 PM
Bump
Report Abuse
GuestCapone is not online. GuestCapone
Joined: 19 Oct 2012
Total Posts: 1928
01 Mar 2013 11:30 PM
ze bumpz
Report Abuse
ScriptsAndStuff is not online. ScriptsAndStuff
Joined: 21 Feb 2013
Total Posts: 264
01 Mar 2013 11:31 PM
A bit complex to me sorry, i'm new.
Report Abuse
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
01 Mar 2013 11:35 PM
Replace translate by to MoveTo
Report Abuse
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
01 Mar 2013 11:35 PM
Replace translate by to MoveTo
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