mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
20 lines
396 B
Markdown
20 lines
396 B
Markdown
### Function: IsInvis(spawn)
|
|
|
|
**Description:**
|
|
|
|
Return's true if the spawn is invisible, otherwise false.
|
|
|
|
**Parameters:**
|
|
- `spawn` (Spawn) - Spawn object representing `spawn`.
|
|
|
|
**Returns:** Return's true if the spawn is invisible, otherwise false.
|
|
|
|
**Example:**
|
|
|
|
```lua
|
|
-- made up example
|
|
function casted_on(NPC, Spawn, Message)
|
|
if IsInvis(Spawn) then
|
|
-- RemoveInvis(NPC,Spawn)
|
|
end
|
|
```
|