Drunk


Descriptions

Add an Drunk FX to the current camera. Turn on or off the FX.

CameraPlay.Drunk_ON(NightVision_Preset Preset, float time);

CameraPlay.Drunk_ON(NightVision_Preset Preset);

CameraPlay.Drunk_ON(float time);

CameraPlay.Drunk_ON();

CameraPlay.Drunk_OFF(float Time);

CameraPlay.Drunk_OFF();

Parameters

Name Description Value Description Default
Time Set the time effect in second 1 = 1 Second 1 Second
Drunk_Preset Drunk vision preselection See Drunk_Preset Drunk Default

Drunk_Preset

Name Value Description
Default 0 Default Drunk
Drunk_A_Lot 1 Drunk a lot !
Drunk_Vodka 2 Drunk Vodka like
Drunk_Poison 3 Drunk poison or green liquid
Drunk_Yellow 4 Drunk yellow
Drunk_Dark 5 Drunk dark vision or dark magic
Drunk_Cold 6 Drunk cold
Drunk_Burn 7 Drunk burn
Drunk_Blood 8 Drunk blood
Drunk_To_Much 9 Drunk to much !

Example:

CameraPlay.Drunk_ON(3); // Turn on the Drunk FX with a fading-on of 1 second and the size of 8 pixel

CameraPlay.Drunk_OFF(2); // Turn off the Drunk FX with a fading-on of 0.5 second.

Note:

Due to the On/Off system, you can only use 1 Fx at the time.

Note:

The effect is set by default on the main camera, if you want to change the current camera us CameraPlay.CurrentCamera and select the new camera All the other effect will use the new current camera.