Roland Posted September 21, 2014 Share Posted September 21, 2014 FindChild would work if got the root entity. But how to get that one? Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Rick Posted September 21, 2014 Share Posted September 21, 2014 for x=0,App.world:CountEntities()-1 do local entity = App.world:GetEntity(x) Or if you have a C++ app then you won't have the App variable, but can use World:GetCurrent() I believe. World:FindEntity() perhaps as well. 2 Quote Link to comment Share on other sites More sharing options...
CrazyM Posted September 22, 2014 Share Posted September 22, 2014 Is this documented somewhere? If not, it should be. I couldn't find it in App or World documentation. Quote CrazyMinnowStudio.com Youtube, Twitter, Facebook, G+ Link to comment Share on other sites More sharing options...
shadmar Posted September 22, 2014 Share Posted September 22, 2014 CountEntites and GetEntity are not official supported commands or subject to change. There was a post somewhere... Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB 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.