GerardWay Posted January 13, 2013 Share Posted January 13, 2013 Can anyone give me an example of how I could create a marker at the coordinates 1548.69153, -1364.26526, 326.21829 and when they enter the marker, it teleports them to the coordinates 201.84119, 1867.46252, 13.1406 please? Any help is massively appreciated! Link to comment
Baseplate Posted January 13, 2013 Share Posted January 13, 2013 mymarker = createMarker(1548.69153, -1364.26526, 326.21829) addEventHandler("onMarkerHit", mymarker, function(hitElement, matchingDimension) setElementPosition(hitElement, 201.84119, 1867.46252, 13.1406) end) Link to comment
GerardWay Posted January 13, 2013 Author Share Posted January 13, 2013 Thanks Samer bro, I havent scripted in a while and my mind has went blank T.T Come on facebook? Link to comment
Baseplate Posted January 13, 2013 Share Posted January 13, 2013 Yea sure,my facebook is already on Link to comment
prozi Posted January 15, 2013 Share Posted January 15, 2013 Can you also put here meta.xml file please? Would be helpful, and will avoid any fails that some people does. Link to comment
Baseplate Posted January 15, 2013 Share Posted January 15, 2013 Nice bump <meta> <script src="scriptname.lua" type="server"/> </meta> Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now