Jump to content
MountainBlack23

I need a script to teleport

Recommended Posts

Like the Bat-cave. Cool.

Make an object called "ExitHere" (under objects/signs) an arrow helper will do. Set it's special properties to hidden (uncheck "show object") and place that where you want to exit the bat-cave. Or bunker or whatever.

Make a player activated trigger where you want to exit from and in the ON ACTIVATION field of the trigger try,

if (alive player) exitwith {
_veh= vehicle player;
_veh setpos (getpos exitHere);
};

or just

_veh= vehicle player;
_veh setpos (getpos exitHere);

if you don't want any condition.

Have fun!

  • Like 1
  • Haha 1

Share this post


Link to post
Share on other sites

@MountainBlack23,

This if you want to fancy it up a bit,

if (alive player) exitwith {

titleText ["Teleporting", "BLACK FADED", 0.2];
_veh= vehicle player;
_veh setpos (getpos exitHere);

    playsound ["Orange_PeriodSwitch_Pre_01", true];
sleep 0.5;
titleCut ["", "BLACK IN", 5];

};

You can customize the title text and sound effect for your mission.

  • Like 2

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

×