simply add
player addweapon 'itemmap';
at the beginning
[ USE AT YOUR OWN RISK, EXPECT A BAN,]
This will open the map, teleport you to where you click, then close the map (this part annoyed me so I added it in)
1) Open Darky.hax's script executor 1.2 ,
2) Set Script Hotkey to an unused game key (I unassined 'J' from Journal as my hotkey)
2) Click, File >New , copy and paste the following script.
player addweapon "ItemGPS";
openMap true ;
onMapSingleClick "(vehicle player) setPos _pos; openMap false ; onMapSingleClick '';true;";
4) Load up dayz and while playing press your hotkey
5) Map will open, (if it doesnt, press hotkey again )
6) Click where you want to go and you will teleport there,
7) Map will close.
EDIT: this also gives you a gps
Last edited by bowen2k12; 08-31-2012 at 07:19 AM.
simply add
player addweapon 'itemmap';
at the beginning
I actually left that out as I didn't want to keep spawning a map everytime I teleported.... because im an idiot and didn't think it though lol,
You can only hold one type of equipment such as a map so adding another to yourself shouldn't cause any problems,
player addweapon "ItemGPS";
would probably be the better option as it gives players map access anyway and can be used as a compass aswell (i only use gps, no map or compass), so I have added that to the script now
Thanks for helping me improve the script !
don't work) when i teleport i go back to my position...(