YouGroove Posted February 9, 2015 Share Posted February 9, 2015 Hi, Duplicating some Entity and it's script , the new entity script has same values for Script variables , entities variables values are not copied. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Josh Posted February 9, 2015 Share Posted February 9, 2015 Copy works by saving a temporary map file in memory and then reloading it into the scene. If the entity does not exist in the copied selection, it will be lost. So this is probably more of a design issue than strictly a bug. But thanks for pointing that out. I am not sure how I will proceed. Quote 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 More sharing options...
Kelair Posted February 16, 2015 Share Posted February 16, 2015 I'm quite new to Leadwerks so forgive me if this was always the way, but I believe this same thing happens when you make a prefab from an entity that had a script attached with an entity object loaded in a entity variable. Adding said Prefab back into the scene will have the script loaded but the entity variable is blank. This is with the latest Beta. 1 Quote Link to comment Share on other sites More sharing options...
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.