Quote Originally Posted by Efren View Post
If I'm not mistaken they already exist.

this are the relational properties. (can be found on the Creature.lua or Jo3 post)
Code:
Creature:isSelf()
Creature:isTarget()
Creature:isFollowed()
an example of using this variables would be.. (using Jo3 example)
Again if im not mistaken.
Code:
local creature = Creature.GetByName("Jo3Bingham")

if (creature:ID() ~= 0) then
    if (creature:isTarget() and Creature:WarIcon()) then
        ----use spell or rune
    end
end
If everything is fine then Jo3 will die.
Nope, you're a little wrong.
By using those functions you currently only check if creature is you itself, your target or creature that you follow.
He had in mind something like $self, $target, $attacked, $followed in neobot. Those variables was returning creature pointers.

Also I want to know if there will be some variable or loop like in neobot that would be returning all creatures (players/monsters/npc's) from screen (all floors)?