BIS fnc carAlarm: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Play car alarm effect. |= | | Play car alarm effect. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [mode, car] call [[BIS_fnc_carAlarm]] |= | | [mode, car] call [[BIS_fnc_carAlarm]] |SYNTAX= | ||
|p1= mode: [[String]] - can be one of: | |p1= mode: [[String]] - can be one of: | ||
Line 19: | Line 19: | ||
|p2= car: [[Object]] - vehicle protected by alarm | |p2= car: [[Object]] - vehicle protected by alarm | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 25: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma_3:_Event_Handlers|Arma 3 Event Handlers]] |= | | [[Arma_3:_Event_Handlers|Arma 3 Event Handlers]] |SEEALSO= | ||
}} | }} | ||
Revision as of 11:26, 7 April 2019
Description
- Description:
- Play car alarm effect.
- Execution:
- call
- Groups:
- Uncategorised
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