Brother Makabeus The Bullet 1 Posted June 14, 2018 Howdy, partners! So the question is simple: is it possible to make teleport script at the dedicated server, BUT only using an admin debug console (without interfearing into mission init files)??? I've been trying some thing like this: Quote I've created 2 teleport points with gate1 = "mercenaries_gorka" createVehicle(position player); gate2= "mercenaries_gorka" createVehicle(position player); and then i've written [gate1, ["Yeeehaaw", {player setPos getpos gate2}]] remoteExec ["addAction", 0, true]; but the thing is that it is only works for myself. Another players couldnt be able to use it anyhow. As far as i know the problem is with "player" variable. But i didn't get how to replace it (in that case) with anything else. Thank you for spending your time answering. Share this post Link to post Share on other sites
Harzach 2518 Posted June 14, 2018 If you have the debug console available, you could just setPos yourself (or any other player, or any object with a variable name...etc.) wherever you want. 1 Share this post Link to post Share on other sites
Brother Makabeus The Bullet 1 Posted June 14, 2018 19 minutes ago, Harzach said: If you have the debug console available, you could just setPos yourself (or any other player, or any object with a variable name...etc.) wherever you want. But what if i want to create something like Zeus Teleporter (ares extension)? The only way to do such teleporter is to add something in mission files? No alternatives? Share this post Link to post Share on other sites
NeoArmageddon 958 Posted June 14, 2018 Gate1 and Gate2 variables don't exist at other clients. Make them public: gate1 = "mercenaries_gorka" createVehicle(position player); publicVariable "gate1"; gate2 = "mercenaries_gorka" createVehicle(position player); publicVariable "gate2"; [gate1, ["Yeeehaaw", {player setPos getpos gate2}]] remoteExec ["addAction", 0, true]; 3 Share this post Link to post Share on other sites
Brother Makabeus The Bullet 1 Posted June 14, 2018 5 hours ago, NeoArmageddon said: Gate1 and Gate2 variables don't exist at other clients. Make them public: gate1 = "mercenaries_gorka" createVehicle(position player); publicVariable "gate1"; gate2 = "mercenaries_gorka" createVehicle(position player); publicVariable "gate2"; [gate1, ["Yeeehaaw", {player setPos getpos gate2}]] remoteExec ["addAction", 0, true]; Thank you! it works) Thx thx thx 1 Share this post Link to post Share on other sites