InvokeDamageFX: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Function|Server & Client|1.0}}
{{Info|Function|Client|1.0}}


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


{{FuncSyntax|InvokeDamageFX(value)}}
{{FuncSyntax|InvokeDamageFX(value)}}
Line 8: Line 8:
{{FuncParam|value|The intensity value in integer (range 0 - 1000).}}
{{FuncParam|value|The intensity value in integer (range 0 - 1000).}}


{{FuncReturnValue|This function returs nothing.}}
{{FuncReturnValue|This function returns '''true'''.}}


== Example ==
== Example ==
Line 16: Line 16:


{{RelatedFunctions}}
{{RelatedFunctions}}
{{Template:ClientFunctions}}
* [[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