Difference between revisions of "LUA:IsInvis"
(Created page with "This function will return a true of false if a spawn is invis. ==== Syntax ==== IsInvis([Spawn] Spawn) ==== Usage ==== <pre> function hailed(NPC, Spawn) if IsInvis(Spawn) t...") |
(No difference)
|
Latest revision as of 18:17, 13 August 2013
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!".