MorganaSacani
Active Member
- Joined
- Sep 20, 2022
- Messages
- 87
- Solutions
- 1
- Reaction score
- 32
In this algorithm, I check if the NPC is focusing on myself:
My doubt is:
How to add a focus to my character? Which function to use?
@EDIT:
I searched within my server's NPC system and found the answer, so in case anyone has the same question. Here is the answer:
LUA:
if not npcHandler:isFocused(cid) then
return false
end
How to add a focus to my character? Which function to use?
@EDIT:
I searched within my server's NPC system and found the answer, so in case anyone has the same question. Here is the answer:
LUA:
npcHandler:addFocus(cid)
Last edited: