TEPA6ANT Posted May 28, 2019 Share Posted May 28, 2019 How to get all objects on map Everything. And hiddens, and triggers. The thing is that I need to game received all triggers (secret rooms) when map start. And then calculate which areas were the player. To know, in any trigger (secret room) was player, I will be able do. I just need to get it, to get the maximum amount. I tried using a GetEntityNeighbors(), but he can't see them. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted May 29, 2019 Share Posted May 29, 2019 This function will get all entities in the world (I believe it includes hidden as well): https://www.leadwerks.com/learn?page=API-Reference_Object_World_ForEachEntityInAABBDo Others like triggers you would need to code yourself. 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.