BIS_fnc_carAlarm

From Bohemia Interactive Community
Revision as of 00:11, 13 July 2022 by Lou Montana (talk | contribs) (Text replacement - " |s1=[" to " |s1= [")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Play car alarm effect.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
[mode, car] call BIS_fnc_carAlarm
Parameters:
mode: String - can be one of:
  • "init": add "Hit" and "GetIn" event handler on the car
  • "play": play the alarm effect
car: Object - vehicle protected by alarm
Return Value:
Nothing

Examples

Example 1:
["init", myCar] call BIS_fnc_carAlarm;

Additional Information

See also:
Arma 3 Event Handlers

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note