Home   Help Search Login Register  

Author Topic: Teleporation Need  (Read 2553 times)

0 Members and 1 Guest are viewing this topic.

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Teleporation Need
« on: 18 Apr 2010, 19:34:45 »
Hi how do you create a teleporation for a player between two points? Able to teleport from this base to this base for example?

Thanks..
Who's hyped for Arma4, long live Arma!

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: Teleporation Need
« Reply #1 on: 19 Apr 2010, 10:27:30 »
Without wanting to sound antagonistic, there are 7 pages of search results in the forum for "teleport". Are none of those threads of any use?

Offline Speeder

  • Members
  • *
    • OFP.nu
Re: Teleporation Need
« Reply #2 on: 11 May 2010, 17:13:56 »
Use translate.google.com  to translate from Danish:


Simpel teleport

Dette teleporterer alle personer som bevæger sig inden for en triggers radius til en anden position, markeret ved en Gamelogic.
 
Lav trigger ved afrejsested.
Activated by: "Hvad du end ønsker"
Skriv i on Activation:
(thislist select 0) setPos getPos gameLogic1
 
 
Indsæt en gamelogic navngivet gameLogic1 på ankomststed.
 
/Af Speeder
There are 10 kinds of people in this world. Those who get it, and those who don't.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Teleporation Need
« Reply #3 on: 11 May 2010, 20:36:38 »
Why not post that in english then, after all this is an english forum..  :scratch:
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Speeder

  • Members
  • *
    • OFP.nu
Re: Teleporation Need
« Reply #4 on: 10 Jun 2010, 20:29:04 »
Simpel teleport

This will teleport all persons who get's within a triggers radius, to a different location, marked by a GameLogic.

Make trigger by departure place
Activated by: "what ever you desire"  Repeatedly
In on Activation:
(thislist select 0) setPos getPos gameLogic1
 
insert a gamelogic named gameLogic1 at the arrival destination.
 
/Af Speeder
There are 10 kinds of people in this world. Those who get it, and those who don't.

Offline haroon1992

  • Members
  • *
  • My life is hopeless...
Re: Teleporation Need
« Reply #5 on: 11 Jun 2010, 17:27:58 »
Put two invisible helihs or gamelogics at exactly your desired two positions
name them pos_1 and pos_2 respectively.

Put a trigger :

Radius : 0
Activation : Radio Alpha
Present
Repeatedly

in On Act box ,put  :
Code: [Select]
if (player distance pos_1 < 5 ) then { player setpos getpos pos_2} else { player setpos getpos pos_1 };

call the radio by pressing 0 - 0 - 1.
You'll be teleported to pos_1 if you are more than 5m from pos_1.Otherwise,you get setposed to pos_2.

Regards,
Haroon1992
Very busy with life, business, and other stuff. Away from OFP for months. Not sure if I could get back onto it. :(