YouGroove Posted March 19, 2013 Share Posted March 19, 2013 Yes, i don't need collision or bounding box, i just want to be able to get the entity in the world whose name is "player2' bay calling a simple function. It would be good if LE3 could that. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Rick Posted March 19, 2013 Share Posted March 19, 2013 We could probably make this ourselves, however in LE it seems the names can be duplicated, so you'd get a table back with all the names that match and would have to sort through them to find the one you want, IF, you didn't stick to a strict naming convention. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 19, 2013 Author Share Posted March 19, 2013 In fact i think specific entities must be stored in App.lua script. It could be an array of weapon names (that could be loaded by other script) etc ... I think we can avoid such function by finding other ways to work. For collision, when it happens you have the entity names , so perhaps really not need for such function i posted ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Rick Posted March 22, 2013 Share Posted March 22, 2013 Did you ever figure out how to get entities by name? I haven't looked at it yet, but if you've figured it out it'll save me the time 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.