Jump to content

Run Game or Run Scene


randomkeyhits
 Share

Recommended Posts

Is there a way when you hit F5/F6 to debug/run the game while in the editor for it to not override the initial scene load? I only just noticed this blink.png as I am trying to debug an issue with the function hook with Map:Load that I'm having.

 

Considering once running you can change scene readily enough I'd assume its simple enough to do except I just don't know how.

 

I'd rather not keep reloading different maps in the editor as it would slow down my work flow considerably.

 

edit:

 

I think there may also be an error in the Map:Load docs too though probably unrelated to what I'm doing. I think where it says hookname it is actually referring to extra

content over form, game play over all.

Link to comment
Share on other sites

Well I identified the problem I had, so progress......

 

Working in LUA so I pass a function with Map:Load() to generate an entity list. With my level design I'm not worried about scenery elements being collapsed and attaching a null script if needed resolves that anyway.

 

My initial assumption was wrong, the list is being correctly created but my method of identifying the desired elements no longer works. Before it used Entity:GetKeyValue() with "name" and "type" but now "type" is empty (I tried "Type" just in case) and just "name" is populated.

 

So my question now becomes is there a list of supported key value IDs, that is ones we may use in confidence and what they mean?

content over form, game play over all.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...