asamy / forgottenmapeditor

Map editor written in lua for Open Tibia. Written with OtClient's framework.
Other
46 stars 20 forks source link

Spawn related functions #68

Closed tosty33 closed 10 years ago

tosty33 commented 10 years ago

Hello, I've found out that there are missing functions that could be added:

Spawn:getCreatures() - function that returns all creatures on spawn
g_creatures.getSpawns() - function that returns all spawns on map
asamy commented 10 years ago

Now they are added: https://github.com/edubart/otclient/commit/93be0f975f10bc84a8c520ce831b8eec3200076e

tosty33 commented 10 years ago

Also what about:

g_creatures.deleteSpawn()

function. Is there something like it?

asamy commented 10 years ago

There: https://github.com/edubart/otclient/commit/e4ba805e0078bbdfe29ffa6c40a3fdd696b0a9a4