Arma 3
102 rating
Flickering Lights
   
Penghargaan
Favorit
Difavoritkan
Batalkan favorit
Data Type: Composition
Meta: Dependency
Ukuran File
Diposting
Diperbarui
105.346 KB
24 Agu 2021 @ 10:56am
26 Agu 2021 @ 3:41pm
3 Catatan Perubahan ( lihat )

Berlangganan untuk mengunduh
Flickering Lights

Deskripsi
Description
A composition that contains all the lamps in the game modified so that they constantly flicker. All the lamps flicker differently - i.e. they have random flickering patterns.
If you'd like to edit the flickering of a lamp, right-click on it and press on Attributes. Afterwards, in the Init field, change the number (where X is) in the sleep (random X); command. The sleep command below the _this switchLight "OFF"; is for how long the lamp should be off and the sleep command below the _this switchLight "ON"; is for how long the lamp should be on.
If you don't want the lamps to flicker randomly, replace the (random X) after the sleep command with a number (the amount of seconds you want the lamp to be on or off).

Also, huge shout out to Hypoxic for helping me out with some of the scripting for the lamps and helping me optimize the code so that it's multi-player compatible.

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★

If you enjoyed this composition, please don't hesitate to rate it up and add it to your favorites.



I'd also love to hear what you think about it down in the comments.
Thanks for subscribing! :)

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★

[www.buymeacoffee.com]
Diskusi Populer Lihat Semua (1)
6
23 Okt 2021 @ 6:04pm
DISEMATKAN: Bug Reports & Suggestions
STARMAN
26 Komentar
M. Cross 22 Okt 2023 @ 6:01am 
It works and It's MP compatible. Big thumbs up from me
Blackbird Ater 19 Sep 2023 @ 9:35am 
No problem. Thanks for getting back to me :)
STARMAN  [pembuat] 6 Sep 2023 @ 11:33am 
@Blackbird Ater - I'm glad you're enjoying the composition. :)

As for the questions:
1. I really have no idea. I was a beginner in Arma 3 scripting when I made this, so I had no idea back then. I also have no idea right now, because I gave up on Arma 3 scripting shortly after making this composition.
2. Yes. I think... I again have no idea. :D

The composition was made two years ago and I barely remember how Arma 3 scripting works right now and as I mentioned, I have also given up on it, so yeah... I'm afraid I can't really help you with the questions. However, I do suggest joining (if you haven't already) the official Arma 3 Discord server and I am more than 100% sure that someone there will have the answers to your questions. There's a dedicated scripting channel and what not.
Blackbird Ater 6 Sep 2023 @ 9:41am 
Thank you for posting this composition! It is awesome!! Really pumped to use it this week in our op!

Would you mind clarifying two things for me? I am a bit of a newbie with scripting so I apologize if I am not making sense.

First, why do you run this in the init, instead of calling an SQF via an execVM? I could be mistaken, but I thought when it comes to scripts, especially loops, it is better to use an execVM. Again, I barely know what I am talking about so I could way off.

Secondly, in the code you have:

l# = this (e.g. the Airport Lamp is l1 = this, the next one is l2 = this

Is l# just giving the lamp a variable name? Thanks again :)
STARMAN  [pembuat] 11 Apr 2023 @ 6:55pm 
@flycatNZ - It's not a scenario, it's a composition.
flycatNZ 11 Apr 2023 @ 2:02pm 
Can't seem to find the scenario to play in single-player. And its not there in my profile under save/steam ¯\_(ツ)_/¯
Colgate Toothpaste 21 Mei 2022 @ 7:00pm 
hey i'm not seeing this comp in the menu man
JusTaGamer 8 Mei 2022 @ 8:29am 
i have loaded your Comp, but there is nothig flickering in my Singleplayer and there is standing nothing in the init field of Lamps. What i must do ?
NFC3SPECTRO 1911 TTV 30 Okt 2021 @ 4:00pm 
do you hava a script for giroflex light?
BridgeBurn100 17 Okt 2021 @ 5:21pm 
So I am having a problem with the flickering when its put on a server. I added the lights in on a template and have tried different numbers which work when testing in the editor. When I put the template up on my units server I only see the briefest flash from the lights. Any idea on why it would be so different from the editor to the server?