BIS fnc carAlarm: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 21: Line 21:
|x1= <code>["init", myCar] [[call]] [[BIS_fnc_carAlarm]];</code>
|x1= <code>["init", myCar] [[call]] [[BIS_fnc_carAlarm]];</code>


| [[Arma_3:_Event_Handlers|Arma 3 Event Handlers]]
|seealso= [[Arma_3:_Event_Handlers|Arma 3 Event Handlers]]
}}
}}

Revision as of 01:23, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
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:
Return value needed

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