GerardWay Posted January 13, 2013 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!
Baseplate Posted January 13, 2013 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)
GerardWay Posted January 13, 2013 Author Posted January 13, 2013 Thanks Samer bro, I havent scripted in a while and my mind has went blank T.T Come on facebook?
prozi Posted January 15, 2013 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.
Baseplate Posted January 15, 2013 Posted January 15, 2013 Nice bump <meta> <script src="scriptname.lua" type="server"/> </meta>
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