BIS fnc carAlarm: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Object Manipulation |GROUP1=") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Object Manipulation |GROUP1= | |gr1 = Object Manipulation |GROUP1= | ||
| Play car alarm effect. |DESCRIPTION= | | Play car alarm effect. |DESCRIPTION= | ||
| [mode, car] call [[BIS_fnc_carAlarm]] |SYNTAX= | | [mode, car] call [[BIS_fnc_carAlarm]] |SYNTAX= | ||
Line 21: | Line 18: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>["init", myCar] [[call]] [[BIS_fnc_carAlarm]];</code> |EXAMPLE1= | |x1= <code>["init", myCar] [[call]] [[BIS_fnc_carAlarm]];</code> |EXAMPLE1= | ||
| [[Arma_3:_Event_Handlers|Arma 3 Event Handlers]] |SEEALSO= | | [[Arma_3:_Event_Handlers|Arma 3 Event Handlers]] |SEEALSO= |
Revision as of 22:38, 16 January 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