TeleportPoint Help -1 reply

Please wait...

dodbdts

I'm too cool to Post

50 XP

18th October 2007

0 Uploads

12 Posts

0 Threads

#1 10 years ago

WELL, it's me again. It's starting to look like a broken record in this forum isn't it? OK, so i'm making that same map as before and decided to put a secret room in & link a teleportation point to it from a certain point in the map. I looked at the objects that are available to add and I noticed there's a TeleportPoint object. BUT, for the life of me I can't figure out how to use it. Does it require the use of AInavmesh? Is it even possible to utilize this object in multiplayer mode? If not how can I achieve the same effects? Anyway, thanks for reading this. Any input would be very helpful as usual. :-)




dodbdts

I'm too cool to Post

50 XP

18th October 2007

0 Uploads

12 Posts

0 Threads

#2 10 years ago

Ok everyone, since I figured it out before someone replied to my post...I kinda figured that I'd enlighten everyone (or at least those of you that need to know but can't figure it out) on how I did it. Step 1: Add a playertrigger object to the world in the area that you want the player to be transported FROM. Step 2: Add a TeleportPoint object to the world in the area that you want the player to be transported TO. Step 3: In one of the PlayerTrigger command entries, enter "msg player (teleport teleportpoint)" without the quotes. (keep in mind that you must replace the teleportpoint with the name of your teleportpoint object) Well...that's pretty much it...you can also do something like "msg player (teleportnr teleportpoint)" which in lamens terms means teleport to the teleportpoint object without changing the player rotation. Hope this helps SOMEONE! :-) Good luck all, and happy modding.




dodbdts

I'm too cool to Post

50 XP

18th October 2007

0 Uploads

12 Posts

0 Threads

#3 10 years ago

OK, so I retract my previous statement. My bad. The method that I posted here for teleporting (though it may work in some circumstances to your liking) is not the best for multiplayer. Instead of placing a PlayerTrigger object, you need a Trigger object. The different being that a PlayerTrigger object only triggers when all player in a level are within the trigger area. The Trigger object triggers whenever a player touches or enters the trigger area. Another "bug" in my post is the message to be sent within the trigger area. The command that I posted earlier, being msg player (TELEPORT teleportpoint), will send ALL players to the teleport point (however, this fact could be useful to SOME of you). The correct command, in this case, should be msg ActivePlayer (TELEPORT TeleportPoint) The Different being that this command only acknowledges the player that is currently within the trigger area. So, just to recap if you want an individual player in a multiplayer game to be teleported once they go to a certain area, you must place a TeleportPoint object where you want the player to be teleported to. You must then place a Trigger object in the area that you want the player to be teleported from (and resize as desired). In the Trigger object's command option type msg ActivePlayer (TELEPORT Teleportpoint) where Teleportpoint is the name of the Teleportpoint object that you place. You can also run this from say, a switch or other command driven object. Sorry for the confusion, if infact anyone read this and/or had problems.