BIS fnc carAlarm: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 7: | Line 7: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Play car alarm effect. | |descr= Play car alarm effect. | ||
|s1=[mode, car] call [[BIS_fnc_carAlarm]] | |s1=[mode, car] call [[BIS_fnc_carAlarm]] |
Revision as of 20:35, 13 June 2021
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