Function: SetVision(spawn, vision)
Description: Set's the vision mode for the Player.
Parameters:
spawn(Spawn) - Spawn object representingspawn.vision(uint32) - Integer valuevision.
Returns: None.
SetVisionRegistered in this checkout as EQ2Emu_lua_SetVision; implementation found at WorldServer/Lua/LuaFunctions.cpp:10182.
Historical signature: SetVision(spawn, vision)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Set's the vision mode for the Player.
Parameters:
spawn (Spawn) - Spawn object representing spawn.vision (uint32) - Integer value vision.Returns: None.
Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.
SetVision(Caster, 3)
Evidence: server/Spells/ClassicRefresh/Mage/Enchanter/Coercer/Warning-2553746.lua:13; binding EQ2Emu_lua_SetVision.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.