Jump to content
Sign in to follow this  
armyinf

Teleport unit via Radio Trigger

Recommended Posts

So I am trying to setup a spontaneous trigger that can be linked to Radio Alpha command, That would teleport any players standing with a 10x10 meter area. Whats the best way to go about this?

 

The point of the teleport is to be able to as a 3rd party character, if another player steps into the trigger area, teleport them.. but only by radio command. 

 

I have it currently set as the following:

 

Type: None 

Activation: Radio Alpha

Repeatable: Checked

Server Only: Unchecked

 

condition: Player in thislist

on ACT: Player setposATL (getpos a1);

 

 

Its just not working, when I first tested with con: "this" it would teleport me no matter if I was inside the trigger area

Share this post


Link to post
Share on other sites

condition: this

 

onActivation:
 

{if (_x distance thisTrigger <= 10) then {_x setVehiclePosition [a1, [], 0, "NONE"]}} forEach allPlayers;

Share this post


Link to post
Share on other sites

worked thanks!

 

condition: this

 

onActivation:
 

{if (_x distance thisTrigger <= 10) then {_x setVehiclePosition [a1, [], 0, "NONE"]}} forEach allPlayers;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×