YouGroove Posted August 3, 2013 Posted August 3, 2013 I don't find that. I use GetEntityNeighbors function, and in the loop i would wish to test if the entity names is equal to "hair001" for example. How to do it in Lua ? Quote Stop toying and make games
AggrorJorn Posted August 3, 2013 Posted August 3, 2013 Something like this: if entity:GetKeyValue("name")== "hair001" then --- Do something end 1 1 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.