MountainBlack23 1 Posted September 9, 2019 This is my first time here, I need a script to teleport the player in and out of a bunke, even if he is using a vehicle. Share this post Link to post Share on other sites
wogz187 1086 Posted September 10, 2019 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! 1 1 Share this post Link to post Share on other sites
MountainBlack23 1 Posted September 10, 2019 47/5000 thanks, I'll get to work again right now 1 Share this post Link to post Share on other sites
wogz187 1086 Posted September 10, 2019 @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. 2 Share this post Link to post Share on other sites