Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spoiler How to make a Teleportation point?
Shives Offline
Member

Posts: 154
Threads: 41
Joined: Jan 2012
Reputation: 1
#1
How to make a Teleportation point?

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

My Custom Story
http://www.frictionalgames.com/forum/thread-12587.html

Sorry for bad English


(This post was last modified: 01-14-2012, 03:01 PM by Shives.)
01-14-2012, 12:18 PM
Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#2
RE: How to make a Teleportation point?

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/amn..._functions a very useful site.

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

http://www.frictionalgames.com/forum/forum-39.html
(This post was last modified: 01-14-2012, 04:56 PM by i3670.)
01-14-2012, 04:54 PM
Find




Users browsing this thread: 1 Guest(s)