Arma 3
Teleport Script doesnt work with Arma 3 Multiplayer [Hamachi]
Yesterday i created a new mission which is using this script for the teleport:

//

this addAction ["Teleport","TeleportScript.sqf",["test1"]];

TeleportScript.sqf:

_dest = (_this select 3) select 0;

_dir = random 359;

player SetPos [(getMarkerPos _dest select 0)-10*sin(_dir),(getMarkerPos _dest select 1)-10*cos(_dir)];

//

The mission/script works great but if somebody wants to join the server that uses the mission it doesnt works... the player who wants to join gets immediately disconnected.
The same Mission without teleport works with multiplayer...^^

Could somebody pls help me? Sry for my bad english :/

- Nox
< >
Visualizzazione di 1-1 commenti su 1
this addAction ["Teleport", {player setPos (getPos rule1)}];
Put this command on the object you want to be interacted with

rule1
put this on the hidden item your teleporting too as its name.

No Discription.ext, No fuss, No hassle No Sqf.

Breakdown of the command is below.

"Teleport" is the name of the command seen in the scroll wheel. you can rename it anything

getPos can be replaced with getPosASL [above sea level], getPosALT [Above ground level]

rule1 is the name of any object your teleporting too. can be renamed, works best on hidden vr arrows.
Ultima modifica da Kolljak; 29 mar 2022, ore 7:53
< >
Visualizzazione di 1-1 commenti su 1
Per pagina: 1530 50

Data di pubblicazione: 1 set 2014, ore 11:05
Messaggi: 1