What would a script be for a teleporter?

Post » Tue May 17, 2011 4:18 am

What would be the script I need to use for a teleporter. The teleporter is a cubic activator on a special platform I created. could the script be player.moveto xxxxxxx? where xxxxxx is I put a heading marker and do the opposite to teleport back?

how would I make the script delay a few seconds?
User avatar
Lovingly
 
Posts: 3414
Joined: Fri Sep 15, 2006 6:36 am

Post » Tue May 17, 2011 3:14 pm

A good example to look at in the base game is the Gomorrah elevator script. You can also look at the activators and triggers associated with it in the building.
User avatar
Karine laverre
 
Posts: 3439
Joined: Tue Mar 20, 2007 7:50 am

Post » Tue May 17, 2011 3:36 am

What I mean is when you walk into an area you trigger a script that teleports you to a location
User avatar
Leah
 
Posts: 3358
Joined: Wed Nov 01, 2006 3:11 pm

Post » Tue May 17, 2011 12:08 am

how do I delay a script?
User avatar
Kayla Bee
 
Posts: 3349
Joined: Fri Aug 24, 2007 5:34 pm

Post » Tue May 17, 2011 10:34 am

You would use a trigger activator primitive, and attach an OnTrigger script with a timer in the GameMode block.

http://geck.gamesas.com/index.php/Creating_Primitives
http://geck.gamesas.com/index.php/OnTrigger
http://cs.elderscrolls.com/constwiki/index.php/Scripting_Tutorial:_Creating_a_Simple_Timer (you don't need the quest delay time stuff though)
http://geck.gamesas.com/index.php/MoveTo
User avatar
Gemma Archer
 
Posts: 3492
Joined: Sun Jul 16, 2006 12:02 am


Return to Fallout: New Vegas