EnableObjectHitEvents: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Enables the [[OnObjectHit]] event.}}


{{FuncSyntax|EnableObjectHitEvents(object [, bEnable])}}
{{FuncSyntax|EnableObjectHitEvents(object [, bEnable])}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|object |__EDIT_ME__}}
{{FuncParam|object|The object identifier.}}
{{FuncParamOptional|bEnable|__EDIT_ME__}}
{{FuncParamOptional|bEnable|'''true''' to enable, default: '''true'''}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true'''}}


== Example ==
== Example ==

Latest revision as of 20:06, 30 August 2020

EnableObjectHitEvents

Type: Function
Context: Client
Introduced: v1.0

Description

Enables the OnObjectHit event.

Syntax

EnableObjectHitEvents(object [, bEnable])

Parameters

  • object
    The object identifier.
  • bEnable (optional)
    true to enable, default: true

Return Value

  • Returns true

Example

__EDIT_ME__

See also