Jump to content

Recommended Posts

hi guys this is a script that lets yr players tp to traders from stary i made this with a guy called ghostkiller 

 

in your mission.sqm look for this

 

         class Item34 // your follow up number
        {
            position[]={1348.44,339,4065.91};
            a=100;
            b=100;
            activationBy="WEST";
            repeating=1;
            interruptable=0;
            age="UNKNOWN";
            name="Prison";
            expCond="(player distance Prison) < 100;";
            expActiv="inPZone = true;";
            expDesactiv="canbuild = true;inPZone = false;";
            class Effects   
            {
            };
        };

add under the above code but you will need to change your class items


         class Item12
        {
            position[]={6266.72, 0, 7744.75};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="StarytoKlenTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="StarytoKlenTeleportation = [] execVM ""Teleportation\KlenTeleportation.sqf"";";
            expDesactiv="terminate StarytoKlenTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };
        class Item13
        {
            position[]={6246.11, 0, 7752.68};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="StarytoHeroinfo";
            expCond="(vehicle player) in thislist";
            expActiv="StarytoHeroinfo = [] execVM ""Teleportation\Hero.sqf"";";
            expDesactiv="terminate StarytoHeroinfo; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };
         class Item14
        {
            position[]={6249.59, 0, 7757.87};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="StarytoHeroTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="StarytoHeroTeleportation = [] execVM ""Teleportation\HeroCampTeleportation.sqf"";";
            expDesactiv="terminate StarytoHeroTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };        
        class Item15
        {
            position[]={6250.12, 0, 7748.98};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="StarytoBanditinfo";
            expCond="(vehicle player) in thislist";
            expActiv="StarytoBanditinfo = [] execVM ""Teleportation\Bandit.sqf"";";
            expDesactiv="terminate StarytoBanditinfo; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };
         class Item16
        {
            position[]={6253.87, 0, 7754.45};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="StarytoHBanditTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="StarytoBanditTeleportation = [] execVM ""Teleportation\BanditCampTeleportation.sqf"";";
            expDesactiv="terminate StarytoBanditTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };    
        class Item17
        {
            position[]={6258.6, 0, 7742.43};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="StarytoBashinfo";
            expCond="(vehicle player) in thislist";
            expActiv="StarytoBashinfo = [] execVM ""Teleportation\Bash.sqf"";";
            expDesactiv="terminate StarytoBashinfo; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };
         class Item18
        {
            position[]={6262.68, 0, 7747.77};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="StarytoHBashTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="StarytoBashTeleportation = [] execVM ""Teleportation\BashTeleportation.sqf"";";
            expDesactiv="terminate StarytoBashTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };        
        class Item19
        {
            position[]={6254.73, 0, 7743.95};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="StarytoAircraftinfo";
            expCond="(vehicle player) in thislist";
            expActiv="StarytoAircraftinfo = [] execVM ""Teleportation\Aircraft.sqf"";";
            expDesactiv="terminate StarytoAircraftinfo; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };
         class Item20
        {
            position[]={6258.43, 0, 7751.16};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="StarytoHAircraftTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="StarytoAircraftTeleportation = [] execVM ""Teleportation\AircraftTeleportation.sqf"";";
            expDesactiv="terminate StarytoAircraftTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };                
        class Item21
        {
            position[]={12040.9, 0, 12653.3};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="AircrafttoStaryinfo";
            expCond="(vehicle player) in thislist";
            expActiv="AircrafttoStaryinfo = [] execVM ""Teleportation\Stary.sqf"";";
            expDesactiv="terminate AircrafttoStaryinfo; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };        
         class Item22
        {
            position[]={12039, 0, 12647.4};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="AircrafttoStaryTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="AircrafttoStaryTeleportation = [] execVM ""Teleportation\StaryTeleportation.sqf"";";
            expDesactiv="terminate AircrafttoStaryTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };                
        class Item23
        {
            position[]={1648.51, 0, 7797.04};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="BandittoStaryinfo";
            expCond="(vehicle player) in thislist";
            expActiv="BandittoStaryinfo = [] execVM ""Teleportation\Stary.sqf"";";
            expDesactiv="terminate BandittoStaryinfo; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };        
         class Item24
        {
            position[]={1650.66, 0, 7802.49};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="BandittoStaryTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="BandittoStaryTeleportation = [] execVM ""Teleportation\StaryTeleportation.sqf"";";
            expDesactiv="terminate BandittoStaryTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };            
        class Item25
        {
            position[]={4105.93, 0, 11650.7};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="BashtoStaryinfo";
            expCond="(vehicle player) in thislist";
            expActiv="BashtoStaryinfo = [] execVM ""Teleportation\Stary.sqf"";";
            expDesactiv="terminate BashtoStaryinfo; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };        
         class Item26
        {
            position[]={4107.38, 0, 11656.9};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="BashtoStaryTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="BashtoStaryTeleportation = [] execVM ""Teleportation\StaryTeleportation.sqf"";";
            expDesactiv="terminate BashtoStaryTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };        
        class Item27
        {
            position[]={12883.7, 0, 12765.2};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="HerotoStaryinfo";
            expCond="(vehicle player) in thislist";
            expActiv="HerotoStaryinfo = [] execVM ""Teleportation\Stary.sqf"";";
            expDesactiv="terminate HerotoStaryinfo; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };        
         class Item28
        {
            position[]={12883.5, 0, 12771.1};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="HerotoStaryTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="HerotoStaryTeleportation = [] execVM ""Teleportation\StaryTeleportation.sqf"";";
            expDesactiv="terminate HerotoStaryTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };        
        class Item29
        {
            position[]={11390.2, 0, 11405.5};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="KlentoStaryinfo";
            expCond="(vehicle player) in thislist";
            expActiv="KlentoStaryinfo = [] execVM ""Teleportation\Stary.sqf"";";
            expDesactiv="terminate KlentoStaryinfo; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };        
         class Item30
        {
            position[]={11394.4, 0, 11410.7};
            a=2;
            b=2;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="KlentoStaryTeleportation";
            expCond="(vehicle player) in thislist";
            expActiv="KlentoStaryTeleportation = [] execVM ""Teleportation\StaryTeleportation.sqf"";";
            expDesactiv="terminate KlentoStaryTeleportation; titleText ["""", ""PLAIN DOWN"", 3];";
            class Effects
            {
            };
        };    

now in yr server pbo in the mission.sqf add the below to in at the bottom

_vehicle_5 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_C", [6248.6553, 7756.6733, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_5 = _this;
  _this setDir 35.836014;
  _this setPos [6248.6553, 7756.6733, 3.0517578e-005];
};

_vehicle_6 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_C", [6253.0796, 7753.123], [], 0, "CAN_COLLIDE"];
  _vehicle_6 = _this;
  _this setDir 36.614861;
  _this setPos [6253.0796, 7753.123];
};

_vehicle_7 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_C", [6257.5791, 7749.7183], [], 0, "CAN_COLLIDE"];
  _vehicle_7 = _this;
  _this setDir 36.861164;
  _this setPos [6257.5791, 7749.7183];
};

_vehicle_8 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_C", [6261.7764, 7746.6099, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_8 = _this;
  _this setDir 38.439617;
  _this setPos [6261.7764, 7746.6099, 6.1035156e-005];
};

_vehicle_9 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_C", [6265.832, 7743.4526, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_9 = _this;
  _this setDir 37.585533;
  _this setPos [6265.832, 7743.4526, 3.0517578e-005];
};

_vehicle_10 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_C", [6270.0762, 7740.082, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_10 = _this;
  _this setDir 37.836941;
  _this setPos [6270.0762, 7740.082, 6.1035156e-005];
};

_vehicle_11 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_B", [4107.0464, 11655.52], [], 0, "CAN_COLLIDE"];
  _vehicle_11 = _this;
  _this setDir 19.14789;
  _this setPos [4107.0464, 11655.52];
};

_vehicle_12 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_B", [11393.572, 11409.64, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_12 = _this;
  _this setDir 35.983864;
  _this setPos [11393.572, 11409.64, -6.1035156e-005];
};

_vehicle_14 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_B", [12883.464, 12769.784, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_14 = _this;
  _this setDir -359.2757;
  _this setPos [12883.464, 12769.784, -4.5776367e-005];
};

_vehicle_15 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_B", [1650.4137, 7801.5674], [], 0, "CAN_COLLIDE"];
  _vehicle_15 = _this;
  _this setDir 19.518364;
  _this setPos [1650.4137, 7801.5674];
};

_vehicle_16 = objNull;
if (true) then
{
  _this = createVehicle ["Land_MBG_Garage_Single_B", [12039.428, 12648.705, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_16 = _this;
  _this setDir -160.72307;
  _this setPos [12039.428, 12648.705, -1.5258789e-005];
};

downlod file and put in your mission root

http://www.filedropper.com/bassteleportation

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
  • 1 month later...

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
  • Discord

×
×
  • Create New...