roriscrave
Advanced OT User
- Joined
- Dec 7, 2011
- Messages
- 1,188
- Solutions
- 34
- Reaction score
- 200
Hi, I'm trying to study the npcs a little...
i see in oracle code this part, what is difference of addFocus and RealeseFocus?
scrit npc oracle in github
i see in oracle code this part, what is difference of addFocus and RealeseFocus?
scrit npc oracle in github
Lua:
local function onAddFocus(cid)
town[cid] = 0
vocation[cid] = 0
destination[cid] = 0
end
local function onReleaseFocus(cid)
town[cid] = nil
vocation[cid] = nil
destination[cid] = nil
end