mattxr 9 Posted March 14, 2007 As some of you may remember there was an Editor Guy Addon in ofp with the ability to teleport, slow time and show position, well i have made my own version for ArmA, but i need to get this one script working... Quote[/b] ]hint "Click on Map to teleport"onMapSingleClick "teleport = _pos; Checker = true; onMapSingleClick {}" @Checker Checker = false teleportpos = [(teleport select 0),(teleport select 1),0] player setpos teleportPos Hint "At new postion" any help would be great thx. Share this post Link to post Share on other sites
ACF 0 Posted March 14, 2007 Not sure what's not working but I think it's only going to work once - the OnMapSingleClick {} disables the command according to the Biki. OnMapSingleClick "player SetPos _pos" works fine as a line in the player's init, though. Share this post Link to post Share on other sites
Mr-Murray 0 Posted March 14, 2007 I use this one: Teleport.sqs ----------------------------------------------------------- teleport=true titletext ["Click on the map to teleport yourself","plain down"] onMapSingleClick "player setpos _pos;teleport=false" @!teleport onMapSingleClick "" titletext ["","plain down"] ----------------------------------------------------------- Regards, Mr-Murray Share this post Link to post Share on other sites