Arma 3
102 人が評価
Flickering Lights
   
アワード
お気に入り
お気に入り
お気に入りから削除
Data Type: Composition
Meta: Dependency
ファイルサイズ
投稿日
更新日
105.346 KB
2021年8月24日 10時56分
2021年8月26日 15時41分
3 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
Flickering Lights

解説
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]
人気スレッド 全て表示 (1)
6
2021年10月23日 18時04分
ピン留め: Bug Reports & Suggestions
STARMAN
26 件のコメント
M. Cross 2023年10月22日 6時01分 
It works and It's MP compatible. Big thumbs up from me
Blackbird Ater 2023年9月19日 9時35分 
No problem. Thanks for getting back to me :)
STARMAN  [作成者] 2023年9月6日 11時33分 
@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 2023年9月6日 9時41分 
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  [作成者] 2023年4月11日 18時55分 
@flycatNZ - It's not a scenario, it's a composition.
flycatNZ 2023年4月11日 14時02分 
Can't seem to find the scenario to play in single-player. And its not there in my profile under save/steam ¯\_(ツ)_/¯
Colgate Toothpaste 2022年5月21日 19時00分 
hey i'm not seeing this comp in the menu man
JusTaGamer 2022年5月8日 8時29分 
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 2021年10月30日 16時00分 
do you hava a script for giroflex light?
BridgeBurn100 2021年10月17日 17時21分 
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?