You are viewing an old version of this page. Return to the latest version.
No categories assigned
LUA:BlurVision
- Last edited 4 years ago by Vlash Nytefall
LUA Functions: BlurVision()
Blurs the vision of the given spawn
Syntax
BlurVision(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (float)
- param1 is the spawn who's vision we are blurring
- param2 is the intensity to blur it by
Usage
function hailed(NPC, Spawn)
BlurVision(Spawn, 0.5)
end
When the NPC is hailed it will blur the vision of the player
Notes
To return the vision to normal set it to 0