Search the Community
Showing results for tags 'kills'.
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! 🙂 -
Hello so I have a strange issue and i don’t know how or what I did to mess this up haha. everytime a player on my server kills anything it always registers as that unit killed itself I shoot and kill a zombie... ”ZombieA killed by ZombieA a player shoots and killed me... “Player DanteMcclous Killed DanteMccloud” etc etc, I’m not sure how I managed to mess something like that up or how to even begin going about fixing it. I’ve been looking all around and can’t find any information. Has anyone else encountered this or know how to fix it? Or any suggestions on where to begin?
-
Count casulties on the end of mission
HonzaVinCZ posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I'd like to ask you if there is possible to make any sort of outro using cutText or titleText where is showed how many civilians, opfor and blufor units (including players and AI or separately showed AI and player casulties of each side) were killed during whole mission. I'd like to use it in multiplayer mission. I'm using ACE and ALiVE so all AI units are spawned by ALiVE modules. So I'd imagine it like this: Civilians casulties: 4 Civilian buildings damaged: 14 BLUFOR AI casulties: 38 OPFOR AI casulties: 46 BLUFOR player casulties: 12 OPFOR player casulties: 14-
- multiplayer
- kills
-
(and 2 more)
Tagged with:
-
Yeah i know some of you guys here around will laugh me out for this newbie stupid question But anyway here i go : i have stat system on the server, it counts deaths, kills, xp, etc..... now my question is how do i obtain kill/death ratio from these stats ? i know k/d ratio is kills divide by deaths to obtain kill death ratio, how to calculate it in sqf file what is the code to put in here ? //This converts the string to an array _get = call compile _get; //only select the inner array, throw away this outer array shell _get = _get select 0; _get = _get select 0; _string = _get select 0; _xp = parseNumber _string; _string = _get select 1; _kills = parseNumber _string; _string = _get select 2; _deaths = parseNumber _string; player_stats_add = [_xp,_kills,_deaths]; owner _unit publicVariableClient "player_stats_add"; player_stats_got = 1; owner _unit publicVariableClient "player_stats_got"; or am i wrong ? is it elsewhere ? or maybe can i make a new sqf file ?