Jump to content

Multiple Markers


DarkLink

Recommended Posts

It doesn't really, as far as I know. Personally, I prefer declaring my markers in the script. That way if I need to change that script, it's all in one file.

Map files are technically the "correct procedure," though, I guess.

Link to comment

If you use map files, people can write maps for your gamemodes using the editor, you can have elements specified in multiple resources. Making scripters modify your resource asks for errors, it also means that it has to be downloaded repeatedly if the same resource is used on more than one server.

Use getElementsByType("mySpecialMarker"), iterate over the list returned and then create markers based on them, or something similar instead.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...