BIS fnc carAlarm: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
|descr= Play car alarm effect. | |descr= Play car alarm effect. | ||
|s1=[mode, car] call [[BIS_fnc_carAlarm]] | |s1= [mode, car] call [[BIS_fnc_carAlarm]] | ||
|p1= mode: [[String]] - can be one of: | |p1= mode: [[String]] - can be one of: | ||
Line 18: | Line 18: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["init", myCar] call BIS_fnc_carAlarm;</sqf> | ||
|seealso= [[Arma_3:_Event_Handlers|Arma 3 Event Handlers]] | |seealso= [[Arma_3:_Event_Handlers|Arma 3 Event Handlers]] | ||
}} | }} |
Latest revision as of 23:11, 12 July 2022
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:
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