OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: NightJay0044 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..
-
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?
-
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
-
Why not post that in english then, after all this is an english forum.. :scratch:
-
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
-
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 :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