The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5327 - File: inc/functions.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions.php 5327 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



2DWorlds Forums
Anybody have a World Teleporter? - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+--- Thread: Anybody have a World Teleporter? (/showthread.php?tid=5562)

Pages: 1 2


RE: Anybody have a World Teleporter? - Glome - 06-09-2011

(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...


RE: Anybody have a World Teleporter? - Jacob__mybb_import1 - 06-09-2011

[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]


RE: Anybody have a World Teleporter? - Glome - 06-09-2011

(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 :>


RE: Anybody have a World Teleporter? - Glome - 06-09-2011

(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



RE: Anybody have a World Teleporter? - King_Of_Forums - 06-09-2011

(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




RE: Anybody have a World Teleporter? - Glome - 06-09-2011

(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