Heya.
Well, I just noticed that TFS is missing something that exists on OTS: the onKill() event.
onKill() is a creature event really useful, 'cause it is only executed when registered and you know which creatures the creature X killed, not which creatures died by X(there is a difference)
Why that? Let's suppose you got a quest. And you want that a player kill 20 wolves on this quest. Instead of registering an onDeath() event on every single wolf or using onPrepareDeath() to check if the player that killed the wolves is in the quest, you can simply register the onKill() event on that player so that when he kills a creature you verify if it is a wolf.
This is my main request.
My next request is about the onPrepareDeath(), the onLook() and the onThink() events. Make they work like onDeath() and onKill(), so they are only executed when they are registered on creatures(so you could even use onThink() with monsters, when registered)! This will give a great performance fix for the server, since you will only execute scripts when necessary!
Mainly, onLook() and onThink() are the most necessary, since they are executed at least every second!
And, my last request, create onSpawn() events for monsters, that should only be executed when registered(set by their xml files).
Thank you.
Well, I just noticed that TFS is missing something that exists on OTS: the onKill() event.
onKill() is a creature event really useful, 'cause it is only executed when registered and you know which creatures the creature X killed, not which creatures died by X(there is a difference)
Why that? Let's suppose you got a quest. And you want that a player kill 20 wolves on this quest. Instead of registering an onDeath() event on every single wolf or using onPrepareDeath() to check if the player that killed the wolves is in the quest, you can simply register the onKill() event on that player so that when he kills a creature you verify if it is a wolf.
This is my main request.
My next request is about the onPrepareDeath(), the onLook() and the onThink() events. Make they work like onDeath() and onKill(), so they are only executed when they are registered on creatures(so you could even use onThink() with monsters, when registered)! This will give a great performance fix for the server, since you will only execute scripts when necessary!
Mainly, onLook() and onThink() are the most necessary, since they are executed at least every second!
And, my last request, create onSpawn() events for monsters, that should only be executed when registered(set by their xml files).
Thank you.