InvokeDamageFX: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server & Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|InvokeDamageFX(value)}} {{FuncParameters}} {{FuncParam|value|__EDIT_ME__}} {{FuncReturnV..."
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Info|Function|Server & Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Invokes the visual damage effect for the client screen.}}


{{FuncSyntax|InvokeDamageFX(value)}}
{{FuncSyntax|InvokeDamageFX(value)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|value|__EDIT_ME__}}
{{FuncParam|value|The intensity value in integer (range 0 - 1000).}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns '''true'''.}}


== Example ==
== Example ==
<syntaxhighlight lang="Lua>
__EDIT_ME__
__EDIT_ME__
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[InvokeDamageFX]]
* [[IsPlayerAiming]]
* [[IsPlayerReloading]]
* [[IsPlayerDead]]
* [[IsGameDevMode]]

Latest revision as of 13:48, 30 August 2020

InvokeDamageFX

Type: Function
Context: Client
Introduced: v1.0

Description

Invokes the visual damage effect for the client screen.

Syntax

InvokeDamageFX(value)

Parameters

  • value
    The intensity value in integer (range 0 - 1000).

Return Value

  • This function returns true.

Example

__EDIT_ME__

See also