Jump to content

Recommended Posts

Posted

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.

Stop toying and make games

Posted

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.

Posted

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 ?

Stop toying and make games

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.

×
×
  • Create New...