opendome 91 Posted June 19, 2016 Last time I messed around with using teleportation via a script in a multiplayer environment it was pretty hit and miss and quite buggy. Is there a functioning teleport script in a multiplayer/dedicated environment? Basically I want to add an addaction to a flagpole and have that execute a script which teleports the player to another location via a marker. Thanks! Share this post Link to post Share on other sites
Belbo 461 Posted June 19, 2016 Try this: https://github.com/Pergor/ADV_MissionTemplate/blob/master/adv_missiontemplate.altis/functions/client/fn_flag.sqf Just call it in init.sqf or initPlayerLocal.sqf like this: [flag_1,flag_2,...,flag_n] call compile preprocessFileLineNumbers "fn_flag.sqf"; Share this post Link to post Share on other sites
opendome 91 Posted June 19, 2016 Great thanks! Upon reading it seems that it teleports an individual to a group leader. I am looking to teleport from FOB to FOB, would this work for that? Share this post Link to post Share on other sites
Belbo 461 Posted June 19, 2016 Or try this new one: https://github.com/Pergor/ADV_MissionTemplate/blob/master/adv_missiontemplate.altis/functions/client/fn_teleport.sqf call it like this: [OBJECT,TARGET] call compile preprocessFileLineNumbers "fn_teleport.sqf"; with OBJECT being the object that should have the action to teleport and TARGET as the object, marker or position to teleport to. If TARGET is a vehicle, player will be placed inside it. Share this post Link to post Share on other sites
opendome 91 Posted June 20, 2016 That works perfectly thanks! Share this post Link to post Share on other sites