Jump to content

Getting elements to .lua from .map


DarkLink

Recommended Posts

Hi guys, i have one question.

Is it possible to get those elements created in map files (map editor) to .lua script ?

My script need to get those elements.. so i dont need to change the .lua for every map, and people can make many maps for my gamemode..

But how to get elements from .map files and manage them in .lua scripts ?

thanks.

Link to comment

Thanks SDK, so that is the function they use for assault gamemode ?

People place objective on map editor (costum element), and then the script use that function to receive it. right?

Yes, and getElementsByType.

okay thanks alot dude ;)

bb

Darklink,

Instead of posting more why didn't you use the "Edit" button and add all the post in there.

Link to comment
Jaysd1, your post it's off topic, not his, he just said 'thanks' to eAi, so, if you could stop posting useless stuff it would be jsut great.

Come on guys, u are off-toping too :b (and me also)

But Jay is a nice guy, dont say that :)

Thanks both

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...