No categories assigned
LUA:IsInvis
- Last edited 12 years ago by I need to Update My Profile
This function will return a true of false if a spawn is invis.
Syntax
IsInvis([Spawn] Spawn)
Usage
function hailed(NPC, Spawn)
if IsInvis(Spawn) then
Say(NPC, "I can't see you!")
end
end
When an npc with this function is hailed if they are invisible, the npc will say "I can't see you!".