Anybody have a World Teleporter?
#11
(06-09-2011, 08:14 PM)Brassrhino Wrote:
(06-09-2011, 08:11 PM)Glome Wrote:
(06-09-2011, 08:07 PM)Brassrhino Wrote:
(06-09-2011, 08:03 PM)Glome Wrote: Hmm...

I will make one now Big Grin

Could I have a Copy whenever you're Done with the Scripting, etc.?

I made it but it doesn't move the camera to the world...

How about you Add the Camera moving to the Script? :U (<---- Doesn't do Good at Scripting.)
I'll try that lol

[lua]function OnCollided(hit)
if hit.Parent.Type == "Character" then
hit.Parent = game:getWorld("test").World
end
end

link(script.Parent.Collided, OnCollided)[/lua]

That's what I've made. Doesn't move the camera though...
[Image: AmZJnA9.png]
Reply
#12
[lua]
function OnCollided(hit)
if hit.Parent.Type == "Character" then
hit.Parent.Parent = game:getWorld("test").World
hit.Parent.Position = Vec2D(newX, newY)
end
end

link(script.Parent.Collided, OnCollided)
[/lua]
Reply
#13
(06-09-2011, 09:24 PM)Jacob_ Wrote: [lua]
function OnCollided(hit)
if hit.Parent.Type == "Character" then
hit.Parent.Parent = game:getWorld("test").World
hit.Parent.Position = Vec2D(newX, newY)
end
end

link(script.Parent.Collided, OnCollided)
[/lua]

Tahtz mai code j00 edited trolololo

Thanks for fixing it though :>
[Image: AmZJnA9.png]
Reply
#14
(06-09-2011, 09:24 PM)Jacob_ Wrote: [lua]
function OnCollided(hit)
if hit.Parent.Type == "Character" then
hit.Parent.Parent = game:getWorld("test").World
hit.Parent.Position = Vec2D(newX, newY)
end
end

link(script.Parent.Collided, OnCollided)
[/lua]

[lua]
function OnCollided(hit)
if hit.Parent.Type == "Character" then
hit.Parent.Parent = game:getWorld("test").World
hit.Parent.Body.Position = Vec2D(newX, newY)
end
end

link(script.Parent.Collided, OnCollided)
[/lua]

You forgot the body hehehe :3
[Image: AmZJnA9.png]
Reply
#15
(06-09-2011, 07:59 PM)Qwertygiy Wrote: Not that I'm aware of, might make one, might not, because it's gonna be needed at some point.
I need one too. You're gonna help lots of people. Big Grin

[Image: 1h8ja1.png]
Reply
#16
(06-09-2011, 11:52 PM)King_Of_Forums Wrote:
(06-09-2011, 07:59 PM)Qwertygiy Wrote: Not that I'm aware of, might make one, might not, because it's gonna be needed at some point.
I need one too. You're gonna help lots of people. Big Grin

U can use mine :3
[Image: AmZJnA9.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)