武装突袭3

武装突袭3

98 个评价
Light Switch Script
   
奖励
收藏
已收藏
取消收藏
Data Type: Scenario
Scenario Gameplay: Multiplayer
Scenario Map: Altis
文件大小
发表于
更新日期
327.971 KB
2019 年 10 月 11 日 下午 2:51
2019 年 10 月 12 日 上午 8:17
4 项改动说明 ( 查看 )

订阅以下载
Light Switch Script

描述

What is this?
This is a script that allow you to turn off all lights in a area, useful for some stealth like missions.

This script make some use of the switchLight command or more exactly [this, "OFF"] remoteExec ["switchLight",0,true]; that is its Multiplayer dedicated server compatible form, you can use many combinations as you want, this is just a test mission to show what can be done.

How to use:
how to set up like this mission:
Get this code here: https://pastebin.com/5qXsajBC
Paste inside the init of the Land_TransferSwitch_01_F (Transfer Switch)
This code is ready for multiplayer and dedicated server
This is just a test mission to showcase the script, no extra download needed

Disclaimer
Everyone is allowed to reverse engineer and copy this mission scripts though I am not available to explain how it works sometimes I leave comments on the scripts to remember what I did, but if you use any content from here please give the credits, I hope your works come out great too!


Donate/Support
If you would like support my work in the steam workshop here is my Paypal:

[www.paypal.com]
37 条留言
Roque_THE_GAMER  [作者] 2022 年 5 月 12 日 下午 3:44 
此留言正在等待我们的自动内容检查系统分析。在我们证实其内容无害之前(例如试图窃取信息的钓鱼站点链接),留言将暂时隐藏。
AZOV-MAN 2022 年 5 月 12 日 下午 3:20 
@Roque_THE_GAMER
Is there some way to make a switch turned off on start of mission, for example, if your task to restore light in certain area ?
Echo Congo 2022 年 5 月 10 日 下午 7:12 
@Roque_THE_GAMER A little late to this now, but I found out why the switch was blowing up on me. The mod known as "Exploding Objects" makes the Transfer Switch an explode-able item. I guess I can't use that mod with this script lol.
Corporal Cal 2022 年 1 月 2 日 上午 1:08 
That's good to know. Thanks
Roque_THE_GAMER  [作者] 2022 年 1 月 1 日 下午 5:08 
All assets that are not maps, vehicles and gear/weapons can be used in any scenarios, even DLCs weapons/gear can be used by AI
Corporal Cal 2022 年 1 月 1 日 下午 5:07 
Ah brilliant. Out of curiosity, is that the case for all DLC assets?
Roque_THE_GAMER  [作者] 2022 年 1 月 1 日 上午 8:44 
The Land_TransferSwitch_01_F (Transfer Switch) is in the vanila game, its a asset from the contact DLC but you can use it in any mission without having the DLC.
Corporal Cal 2022 年 1 月 1 日 上午 5:46 
I just figured out that the script does what I asked lol, my bad. I just need to find a similar asset to the land transfer switch that is the vanilla game.
Corporal Cal 2022 年 1 月 1 日 上午 5:18 
I got around the exploding generator by changing the '_target SetDamage' value to 0.1.
@Rogue_THE_GAMER is there way or a script that will enable you to turn lights on and off. For example I want to make a range where I can train members in light and then they practice with NVG's
Roque_THE_GAMER  [作者] 2021 年 3 月 17 日 下午 10:03 
the script damages the Switch and its intended, but mine does not explode, is that a mod you are using? can you still use the Switch?