Now it's simple, but something is wrong and I just can't see what.Code:function Mall_PlayerOnRange (pUnit, Event) pUnit:SendChatMessage (0, 0, "TEXT HERE") end RegisterUnitEvent (100100, 10, "Mall_PlayerOnRange")
All I want is the NPC to say something when a player gets in range, which is what I should have there.
Even if someone had to talk to the NPC first before it said anything would be fine.
If this is correct then maybe my NPC's flags are wrong?
Thanks in advance!