Frictional Games Forum (read-only)
[SPOILER] How to make a Teleportation point? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SPOILER] How to make a Teleportation point? (/thread-12582.html)



How to make a Teleportation point? - Shives - 01-14-2012

Hi
I want to make an Area which teleport you to another map but how to do this?
I looked for a tutorial but i haven't found something
Sorry for bad english Big Grin



RE: How to make a Teleportation point? - i3670 - 01-14-2012

You just make an ordinary scripting area and use the EntityCollideCallback and then you use

ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound);

asMapName - the file to load
asStartPos - the name of the StartPos on the next map
asStartSound - the sound that is played when the change starts
asEndSound - the sound that is played when the new map is loaded

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions a very useful site.

and please use the Dev. support page in the future Smile

http://www.frictionalgames.com/forum/forum-39.html