I’m using Qiso plugin and I have using the character concept for buildings (objects) placed by the using. I need to be able to:
- Check if there is a character/building on the tile the user tapped.
- List all the characters/buildings on the map
For the first need 1., I intended to use
qiso.getCharacterData("Player")
But I need to provide the name of the object as a parameter, which I don’t necessarily have. What I know is the tapped coordinated. I couldn’t find a way to see if a character exists at these coordinates. Any idea how this can be achieved?
I was also thinking of building a table of objects/coordinated when adding the objects to the map and loop through this table when needed but that doesn’t seem optimal.
For the second request, I guess the answer to 1. will help me.
Bonus question: If the Character concept of Qiso is not adapted to adding/moving/removing Buildings/objects, I’m open to any suggestion; but from what I can see it seems appropriate.