Search the Community
Showing results for tags 'number'.
Found 4 results
-
Complete Task When A Specific Kills Are Numbered
black_hawk_mw2_87 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, community! I am testing a VR scenario with VR AI - 0_Soldier_VR_F, called tgt0. The hits on him are counted by a script which also checks his condition, depending on where the AI's being shot. But what I want to know is how to complete a task, when a specific number of kills of the same class spawning VR soldier is counted. For example, when I kill the VR AI x times, the task will be completed. What can I do about this? Thank you in advance! 🙂 -
What is the upper limit or maximum number of AI and/ or human players in one single mission / campaign / scenario / Multiplayer mission / online combat. Is this number limited by game software settings itself, or upon to hardware performance? I have these questions because I would like to organize and design a huge mission or campaign such as BLUFOR Battalion VS OPFOR Battalion, I want to know how many AI could I put in and how many Players can join in, and What kind of PC should I set up. Many thanks, could you share your experience about these questions, list them one by one. For example ; Game type Max AI Max Players Single mission xxx xxx Campaign yyy yyy etc. etc. etc.
-
Sort an array of array only by number
Crazy_Man posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I want to sort an array of array with strings and numbers but only on the number. With the highest number at the start of the array. _array = [["Player 1",1], ["Player 2",3], ["Player 3", 2]]; // The result I want is : _array = [["Player 2",3], ["Player 3",2], ["Player 1", 1]]; -
Type Number, expected Control: error
lawman_actual posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm trying to set a checkbox as unchecked, but I get the error stating "type, number. Expected, control" I've checked the control idc and it matches what i've typed in the script...so I don't know how to get that "number" recognised as an idc. {_x ctrlSetChecked false;} forEach [2801,2802,2803]; I've also had a similar thing before where I was storing group names in an array, but was later unable to issue a command using that recalled group name because it was a "string" as opposed to a "group", even though tests showed that the group name matched the string exactly. Thanks, Law