From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Zeus lightning strike.
⚠
Note that the
target object will be deleted by the function (part of how Zeus modules work) if it can be edited by any curators (which is checked by the
objectCurators command).
- Execution:
- spawn
- Groups:
- Modules
Syntax
- Syntax:
- [target, nil, activate] call BIS_fnc_moduleLightning
- Parameters:
- target: Object - where the lightning bolt hits - will be deleted by the function!
- nil: Nothing - not used
- activate: Boolean - true to activate, false does nothing
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- Arma 3 Zeus
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
- Smith.UA - c
- Posted on Jun 26, 2025 - 12:00 (UTC)
-
Please note that the function makes the visual effects (lightning model and light) visible only to the client on which the function was executed.
The explosion sound, crater and damage will only be generated (globally) on the client where the target is local or the target curator is local to the client.
If you want to call lightning globally, you must call this function on all clients: