Jump to content
  • 0

Infistar Teleport with epoch 1.0.6 not working


Dusty459

Question

5 answers to this question

Recommended Posts

  • 0
50 minutes ago, Dusty459 said:

Right cant Seem to Teleport to players or anywhere on the Map Just teleports to the same place with infistars lastest02-December-2016 v1436

i use it to tp to any map location

Spoiler

private ["_done","_location","_done","_locOK","_pos","_worked"];
if (!("ItemGPS" in items player)) then {player addweapon "ItemGPS";};
_done = false;
_locOK = true;
_worked = false;

teleport = {
    _pos = [_this select 0, _this select 1,_this select 2];

    if ((vehicle player) isKindOf "Air" && isEngineOn (vehicle player) && (speed (vehicle player)) > 20) then{
        (vehicle player) setpos [_pos select 0, _pos select 1, 1000];
        player setVariable["lastPos",0, true];
        _worked = true;
    } else {
        if ((vehicle player) != player && !((vehicle player) isKindOf "Ship")) then {
            _location = [_pos select 0, _pos select 1] findEmptyPosition [0,10];
            if (count _location < 1) then {
                cutText["Unable to teleport here.","PLAIN DOWN"];
            } else {
                (vehicle player) setpos _location;
                _worked = true;
            };
        } else {
            (vehicle player) setpos [_pos select 0, _pos select 1, 0];
            _worked = true;
        };
    };

    openMap [false, false];
    TitleText [format[""], "PLAIN DOWN"];
    _done = true;

};

closedialog 0;
sleep 0.5;
TitleText [format["Click on the map to Teleport"], "PLAIN DOWN"]; titleFadeOut 3;

if(!(visibleMap)) then {
    openMap [true, false];
};

onMapSingleClick '[_pos select 0, _pos select 1, _pos select 2] call teleport';
waitUntil{_done || !(visibleMap)};
onMapSingleClick "";

 

Link to comment
Share on other sites

  • 0

Infistar teleport works fine for me. Make sure you turn off the Epoch antihack like the readme.txt tells you to from infistar.

 

10.	CHECK IF YOUR MISSIONFILE HAS THIS LINE IN THE INIT.SQF:
	#include "\z\addons\dayz_code\system\REsec.sqf"
	IF YES -> HAS TO BE REMOVED!
	IF YOUR MISSIONFILE INIT.SQF HAS THOSE LINES
	dayz_antihack = 0; // DayZ Antihack / 1 = enabled // 0 = disabled
	dayz_REsec = 0; // DayZ RE Security / 1 = enabled // 0 = disabled
	SET IT LIKE THIS. THEY BOTH HAVE TO BE   = 0;
	Picture (everyone likes them):
	REMOVE THE COLORED THINGS (if you have not done that yet):
		which is this:
			[] execVM "\z\addons\dayz_code\system\antihack.sqf";
		remove this line completely or you can not teleport.

See that last line there?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...