VoidExpanse/scope-visual
Scope visual
Used to manage some of the visual effects from scripts.
Visibility: Global.
List of functions
ShieldHitEffect | ||
---|---|---|
Arguments | Returns | Example |
|
void |
visual.ShieldHitEffect( 10, 15, 20,23, 0.2); |
Description | ||
Applies shield damaged visual effect on client. Strength affects brightness of effect, global coordinates - direction. |
ShieldUpEffect | ||
---|---|---|
Arguments | Returns | Example |
|
void |
visual.ShieldUpEffect(132); |
Description | ||
Invokes "shield up" visual effect. |
ShieldDownEffect | ||
---|---|---|
Arguments | Returns | Example |
|
void |
visual.ShieldDownEffect(132); |
Description | ||
Invokes "shield down" visual effect. |
DeviceDeactivateEffect | ||
---|---|---|
Arguments | Returns | Example |
|
void |
visual.DeviceDeactivateEffect(132, 515, "SomeDeviceEffect"); |
Description | ||
Deactivates specified visual effect, connected to specific device. |
DeviceActivateEffect | ||
---|---|---|
Arguments | Returns | Example |
|
void |
visual.DeviceActivateEffect(132, 515, "SomeDeviceEffect", 100); |
Description | ||
Activites visual effect of device with no target parameters. Effect will worn off in max_length, unless Deactivate is called earlier. |
DeviceActivateEffectOnObject | ||
---|---|---|
Arguments | Returns | Example |
|
void |
visual.DeviceActivateEffectOnObject(132, 515, "SomeDeviceEffect", 100, 35355); |
Description | ||
Activites visual effect of device with target parameters. Effect will worn off in max_length, unless Deactivate is called earlier. |
DeviceActivateEffectOnTarget | ||
---|---|---|
Arguments | Returns | Example |
|
void |
visual.DeviceActivateEffectOnTarget(132, 515, "SomeDeviceEffect", 100, 100, 105); |
Description | ||
Activites visual effect of device with target parameters. Effect will worn off in max_length, unless Deactivate is called earlier. |