Jump to content

Running resources with commands etc. in map-editor


Puma

Recommended Posts

I'm making an EDF which resource is running all the time and handles its elements on map-starting and map-stopping. When you go into the testmode in the editor, the script isn't triggered since the resource isn't even running in the editor, so you can't test it. I tried including it in the meta.xml of the 'editor'-resource, but none of the commands or bindKey's I put it in seem to work. I even tried editting the 'gamemodestopper.lua'-script in the 'editor'-resource: add a startResource after the loop that stops all resources, but even that didn't work. Starting the resource in the map-editor also doesn't work (commands don't seem to work in the chatbox, I can start the 'runcode'-resource in the F8-console, but when I try to start my own using /start in the F8-console (without / of course), it says that the resource couldn't be found).

What should I do, so my resource will be properly started and running along the editor-resource?

____________________________________________________________________

Nevermind, I was altering the editor in a copied server-folder on my desktop, but when you go into the map-editor by the main-menu, it doesn't work because thatone uses the editor-resource in the mta-folder.

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