yurembo Posted 20 hours ago Posted 20 hours ago How to get an object (which was made in the editor) from the scene to control it programmatically (from a script)? Quote
Josh Posted 16 hours ago Posted 16 hours ago https://www.leadwerks.com/learn/Scene_GetEntity 1 Quote Let's build cool stuff and have fun.
yurembo Posted 1 hour ago Author Posted 1 hour ago @Josh Unfortunately, the documentation for the Scene class is very short. There's only one example for the LoadScene method. When running, it produces an error: This example shows how to create a Scene object in code, but the question remains: how to retrieve it from a map file, which was created in the editor? Scene:GetEntity is described well. Is the UUID always unique? Does it never change? How is it generated? Is it some kind of COM identifier? Quote
Recommended Posts
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.