|
| 16 Jul 2011 05:23 PM |
| what does TranslateBy mean |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 05:24 PM |
In what object is this method located, or is it global?
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 05:25 PM |
| Locked http://wiki.roblox.com/index.php/TranslateBy |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 05:25 PM |
heres mah hole script:
function waitForChild(instance, name) while not instance:FindFirstChild(name) do instance.ChildAdded:wait() end end
waitForChild(script.Parent, "Jeep1") local jeep = script.Parent.Jeep1 waitForChild(script.Parent, "Sign") local sign = script.Parent.Sign waitForChild(sign, "ClickDetector") local clickDetector = script.Parent.Sign.ClickDetector
jeep:TranslateBy(Vector3.new(0,12,0)) local clonedJeep = jeep:Clone()
function spawn() print("spawn()") if jeep.Parent~=nil then print("old jeep found. removing...") jeep.Parent = nil end clonedJeep.Parent = script.Parent clonedJeep:makeJoints() jeep = clonedJeep clonedJeep = jeep:Clone() -- add fire waitForChild(jeep, "VehicleSeatBack") local fire = Instance.new("Fire") fire.Heat = 0 fire.Size = 30 fire.Color = Color3.new(0.25,0.25,0.25) fire.SecondaryColor = Color3.new(0,0,0) fire.Parent = jeep.VehicleSeatBack print("fire added!") wait(3) fire.Color = Color3.new(0.1,0.1,0.1) wait(0.5) fire.Color = Color3.new(0.05,0.05,0.05) wait(0.5) fire.Color = Color3.new(0.02,0.02,0.02) wait(0.5) fire:Remove() end
spawn()
clickDetector.MouseClick:connect(spawn) print("done with connections") |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 05:26 PM |
=/ I see no reason for it to be locked... It would speed things up a lot.
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Jul 2011 05:27 PM |
| is there a way to make a model not offseted just a position to were u want it? |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2011 05:29 PM |
Model:MoveTo(Vector3.new(x, y, z))
-My hand is a dolphin |
|
|
| Report Abuse |
|
|
| |
|
| |
|