The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Legacy:Usable Teleporter

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 08:38, 28 January 2004 by Mr. SlackPants (Talk)

Jump to: navigation, search

How to make a teleporter that has to be used to be activated.


Place a "UseTrigger". (Triggers -> UseTrigger) When you hit your use button near while facing it, you will trigger it. Set it's event -> event = "BeamMeOutScotty"

Then place an actor where you want to be teleported too. I normaly use a "LookTarget" for it, but it doesn't matter what you use. (Keypoint -> LookTarget) An emitter for example works too. Give it an Event -> Tag = "SpawnLocation".

Now we have a usable trigger and a spawnlocation, but now we set it up to actualy spawn at that location when the trigger is used.

Place a "Scriptedtrigger" anywhere in your map. (Keypoint -> AiScript -> ScriptedSequence -> ScriptedTrigger)

In it's properties under AIScript add three actions:

[0] WaitForEvent -> BeamMeOutScotty (same as usetrigger)

[1] TeleportToPoint -> SpawnLocation (same as teleport location tag, you can guess what bPlaySpawnEffect does)

[2] GoToAction [0] (So this is usable more then once)

You should leave the Controllerclass blanc.

That's it, whenever you use the usetrigger you will spawn at the desired location. Can be cool and usefull in some situations.

Mr. SlackPants