Jump to content

adding a LUA component into a Project while editor is running - requires Editor restart to work


beo6
 Share

Recommended Posts

I just created a completely new Project, moved some components into the project.

Things i noticed.

- Editing Properties of the Component does not work and shows just empty values. (floats = 0.0, booleans = false) even if defaults are defined differently then that.

- Drag + Drop into Flowgraph does not show any Events.

- Not sure if related,  but the Camera node where i added a component onto, was gone after restart even though i saved the map. And all Empty nodes where still there that i created after the camera node.

Link to comment
Share on other sites

  • 2 months later...

Changing the default values in the JSON file will not change the values of entities that have already had the component assigned. When you assign the component, the default values are applied to the entity and do not get reloaded from the file after that.

As far as I can tell, this is working correctly. Please let me know if there is any problems.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

On 8/26/2024 at 7:19 PM, beo6 said:

- Drag + Drop into Flowgraph does not show any Events.

- Not sure if related,  but the Camera node where i added a component onto, was gone after restart even though i saved the map. And all Empty nodes where still there that i created after the camera node.

I do not know what these mean. What event would be shown?

Regarding the camera node, if there is a problem can you provide exact instructions for what I should do to make the problem occur?

My job is to make tools you love, with the features you want, and performance you can't live without.

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