native void ForceLightning (int mode = 0)
Usage
Performs a lightning flash. Functions the same way as the Light_ForceLightning special, but from ZScript directly.
Parameters
- Lightning mode, same as the Light_ForceLightning special:
- 0: Makes lightning flash immediately and keeps the map in lightning mode as if it had been set in MAPINFO.
- 1: Makes lightning flash only once and terminates lightning mode right away.
- 2: Terminates lightning mode now. (Will not interrupt a current lightning flash, however)
See also