teleporting to specific spot on another map?

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the when posting support requests.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
t5yvxc
Member
Member
Posts: 15
Joined: November 19th, 2009, 4:03 pm
Name: Tonio
IRC Username: itachi2658
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

teleporting to specific spot on another map?

Postby t5yvxc » July 29th, 2011, 11:07 pm

I already found this tutorial on how to teleport***, and it works perfectly fine, but how do i teleport to a specific point on another map?
for example on legend of zelda ocorina of time, hyrule field is center point for all the cities in the game, if I leave kokirko village i teleport to where kokoriko village is on the hyrule field map, same goes for all the other cities with its corresponding spot on the map. How if possible could i do that?





***http://www.sandboxgamemaker.com/wiki/index.php?title=How_to_make_a_trigger_load_another_map

User avatar
DrChef
Member
Member
Posts: 60
Joined: February 19th, 2010, 5:30 pm
Name: Luis
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: teleporting to specific spot on another map?

Postby DrChef » July 30th, 2011, 12:11 am

So, you mean you want to start a map in a specific spot everytime you load the map?
just place a playerstart entity where you want to start in a map
:D

t5yvxc
Member
Member
Posts: 15
Joined: November 19th, 2009, 4:03 pm
Name: Tonio
IRC Username: itachi2658
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: teleporting to specific spot on another map?

Postby t5yvxc » July 30th, 2011, 11:05 am

Something like that. i have 5 entry points in my main field that connect to 5 cities and i would like each time i leave one of the 5 cities i appear on the field in front of that cities entrance. For example if i leave city A to go to the field, ill appear in front of the entrance to city A, but if I go to city B, I would like to appear in front of city B on the field.
thanks for replying.

Kooldoode
Member
Member
Posts: 66
Joined: July 21st, 2011, 1:06 am
Name: Dallas
IRC Username: Kooldoode
Location: Cloud 9
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: teleporting to specific spot on another map?

Postby Kooldoode » August 4th, 2011, 8:28 pm

lol I love how so many people refer to Ocarina of Time, haha good game though.
hmm I know how to create worlds inside a bigger world...but im not sure this would help in your case.
my only question is how does the world know that if your leaving city a to put your character infront of city a and not city b, and vice versa.


**i have my own ocarina, made it myself and will soon start making them to sell.
They say to Fight for world peace, and yet they also say Fighting never solved anything.

I love PAS <3

User avatar
RonnieNeeley
Member
Member
Posts: 203
Joined: May 5th, 2010, 6:35 pm
Name: Ronnie Neeley
Location: Illinois
Contact:

Re: teleporting to specific spot on another map?

Postby RonnieNeeley » August 7th, 2011, 2:46 am

Basically he is asking how do you make them go from one map to a specific player start in another map.

Sandbox is based on the Cube2 engine, which is essentially an FPS game engine. Due to the mechanics of Sauerbraten (the game made with Cube2), I don't think they implemented this as an option as Sauerbraten didn't have a need for it.

As far as my knowledge goes, you'd have to program that feature in yourself. Please correct me if I'm wrong.
Tritium - An MMORPG ::
"Like" Tritium on Facebook ::
My Music ::

siimvuss
Member
Member
Posts: 410
Joined: August 19th, 2009, 1:27 am
Name: S
IRC Username: S
Location: Estonia
Contact:

Re: teleporting to specific spot on another map?

Postby siimvuss » August 7th, 2011, 12:28 pm

He would certainly have to program it himself, the question here is whether it is possible to do with cubescript (then it would be fairly easy) or would it require modifying the source.

Kooldoode
Member
Member
Posts: 66
Joined: July 21st, 2011, 1:06 am
Name: Dallas
IRC Username: Kooldoode
Location: Cloud 9
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: teleporting to specific spot on another map?

Postby Kooldoode » August 7th, 2011, 1:41 pm

lol well i have no clue in programming at all......trying to learn it but most of it is still just random letters, numbers and characters
They say to Fight for world peace, and yet they also say Fighting never solved anything.

I love PAS <3

User avatar
spikeymikey0196
Member
Member
Posts: 25
Joined: September 15th, 2010, 3:08 pm
Name: Michael
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: teleporting to specific spot on another map?

Postby spikeymikey0196 » January 11th, 2012, 10:00 am

have you tried making a trigger that is linked to the teleporters/spawns?
Trigger A to Spawn A, Trigger B to Spawn B etc

User avatar
Tony
Member
Member
Posts: 113
Joined: November 13th, 2011, 5:04 am
Name: Tony
Location: Cincinnati, Ohio, USA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: teleporting to specific spot on another map?

Postby Tony » January 16th, 2012, 6:15 am


Mind Reading Mastered
Canonize Juan Valdez and his Burro


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Sandbox General Support”

Who is online

Users browsing this forum: No registered users and 4 guests