Forum Jump :

Author Message


Posts: 22
Rank:


Level: Member

Country: us
Location: Jupiter, Cloud 9
Occupation: Plant Burner
Age: 87
In-game name: war1ox

 
#1 Posted at 2015-08-06 02:41        
     
There used to be a script out there for Arma 2 where you put the script in your mission PBO file, place an object within editor, & paste code into the objects init line & be able to teleport between the objects you place by scrolling while looking at the object (Example: place a sign, attach code, place another sign, attach code, then teleport between signs). I cannot find that script anywhere, I'm dying to know if someone could help me dig it up? Been searching for a while :-|.

Thanks!

This post was edited by Foxhound (2015-08-06 09:09, ago)

Steam: war1ox

Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 59
In-game name: Kobayashi Maru

 
#2 Posted at 2015-08-06 17:26        
     
You could try something like this:
name your signs, objects : sign1 & sign2;
Then in sign1 init field:
sign1 addAction ["<t color='#2222ff'>Teleport</t>",{vehicle player setPosAtl getposAtl sign2},nil, 10,false, true,"",""];
in sign2 init field :
sign2 addAction ["<t color='#2222ff'>Teleport</t>",{vehicle player setPosAtl getposAtl sign1},nil, 10,false, true,"",""];
you can add a distance condition in the last pair of "": player distance sign1 (or sign2) < 3. Don't forget the "".

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS

Advertisement


Author Message


Posts: 22
Rank:


Level: Member

Country: us
Location: Jupiter, Cloud 9
Occupation: Plant Burner
Age: 87
In-game name: war1ox

 
#3 Posted at 2015-08-06 19:07        
     
Hey thanks for the help! I actually just re-discovered the video I was trying to locate, so I figured I would post the link here for others. Unkl's Teleport Tutorial

This post was edited by war1ox (2015-08-07 13:28, ago)

Steam: war1ox





Tags: Teleport