武装突袭3

武装突袭3

57 个评价
Switch Mini-Game
2
   
奖励
收藏
已收藏
取消收藏
Data Type: Composition
Meta: Dependency
文件大小
发表于
更新日期
9.525 KB
2023 年 4 月 13 日 下午 3:23
2023 年 4 月 22 日 下午 7:46
4 项改动说明 ( 查看 )

订阅以下载
Switch Mini-Game

描述


Switch Mini-Game


Looking for a fun and challenging mini-game to add to your missions? Then you've stopped by the right composition!

This mini-game features scalable composition, allowing you to easily adjust the difficulty level to your liking. Simply copy and paste one of the switches and it will be added to the number of applicable switches. Move the switches around the map to your liking!

To win, players must get the right switches in the "On" or "Off" position. When players manage to get it right, a variable named:

SMINI_password_correct

will be created and set to true, allowing you to script your own custom results afterward!

Example:

waitUntil { !isNil { missionNamespace getVariable "SMINI_password_correct" } };



Where to find:
Compositions >> Utilities >> Switch Mini-Game

Requirements: None
Includes: Sounds and Lighting

Compatibility:
Zeus - Not Compatible
Currently Max of 1000 Switches
热门讨论 查看全部(1)
0
2023 年 4 月 19 日 下午 4:12
Issues
Hypoxic
11 条留言
Catgirl In A Chally 2 2 月 4 日 上午 7:41 
how to debug/ensure its working?
Hypoxic  [作者] 2023 年 4 月 22 日 下午 7:45 
@nillers

Change the password by changing the variable,

SMINI_password

Needs to be an array of numbers, 0 or 1, 1 being "ON".

Then update the variable globally using publicVariable or setVariable

The problem arises when you want to set the specific order, you have to have your array ordered based on the index of the variable name of the switch.

[SMINI_switch_0,SMINI_switch_1,SMINI_switch_2] etc
Nillers 2023 年 4 月 21 日 下午 6:00 
I'm curious if there is an easy way to input my own sequence for the password. Such as I want all of them turned on or 2/4 to work, for example.
Erufu 2023 年 4 月 19 日 下午 5:13 
@Hypoxic how about a memorisation mini game that presents the player with a sequence of buttons and challenges them to memorize it and repeat it back. This could also be done with a sound sequence that plays (varying pitch of audio file maybe?) and the player presses buttons that plays the sounds to play them back in the correct order.
Hypoxic  [作者] 2023 年 4 月 19 日 下午 4:13 
@dead You got any ideas you want to be created?
Slay No More 2023 年 4 月 18 日 下午 9:07 
Pretty epic idea.
Dead 2023 年 4 月 18 日 下午 7:52 
Are there plans to make more mini games? Stuff like this is awesome and I dont see enough of
Hypoxic  [作者] 2023 年 4 月 17 日 下午 7:39 
@Vectif fully compatible with all server types
Vectif 2023 年 4 月 17 日 下午 3:39 
This is very interesting, thank you for making it and putting it out there. Is it MP/dedicated-compatible?
Grav 2023 年 4 月 14 日 上午 7:29 
This mod single-handedly cured my depression and grew my peen 3 inches after downloading!

Great minigame to spice up time constraints and require teamwork! Would download again.