Jump to content
Sign in to follow this  
teacup

Adding map markers via createLocation..?

Recommended Posts

I'm trying to add new location names/markers to the main map. And figured i'd use createLocation, instead of just placing regular markers, since regular ones don't scale with the map. This is what i tried:

loc = createLocation ["NameLocal", [4177.92, 8948, 0], 120, 120];

loc setName "Willy Wonka's Chocolate Factory";

Buttt!! Nothing shows up. Am i supposed to use drawLocation as well to make it display something, and if so, how do i find out the main map's IDD? Anyone got experience with this, if so any help would be appreciated..

Share this post


Link to post
Share on other sites

It didn't help. But i got off my lazy ass, unpacked missions.pbo and luckily found a working example. Instead of setName i needed to use setText. Go figure.

Updated the Biki with my precious findings..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×