Search the Community
Showing results for tags 'counter'.
Found 6 results
-
How to verify if all players are dead in a coop mission? I was investigating by blind tests to use the (ArmaReforger>Prefabs>ScenarioFramework>Components) LogicCounter.et to check if some player is still alive but I failed. Last week has been published my first mission for Reforger without to really check if some player still alive on the mission, and that is bad hehe. Any North could be awesome.
-
Get rid of side Kill Counter on HUD
MisterCat posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
How do I get ride of that kill counter thing? -
Script is mis-identifying dead units
olegreyghost posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I was using the civilian casualty counter script posted by the Grumpy Old Man. The purpose is to end the mission if there are too many civilian casualties and notify the player with a debriefing screen. MyCivKillCounter = 0; addMissionEventHandler ["EntityKilled",{ params ["_killedUnit","_killer","_triggerMan"]; if (side _killedUnit isEqualTo civilian AND side _triggerMan isEqualTo west) then { MyCivKillCounter = MyCivKillCounter + 1; if (MyCivKillCounter >= 3) then {endMission "End4"}; }; }]; The problem is it ended the mission when the enemy units were killed. The debriefing screen showed opfor units killed, but not any civilians. This was a recurring problem so I switched to a similar script posted by Kylania. Both are used in the init.sqf. if (isServer) then { FNH_civilians_killed = 0; addMissionEventHandler ["EntityKilled", { _killed = _this select 0; if (side group _killed == civilian) then { FNH_civilians_killed = FNH_civilians_killed + 1; if (FNH_civilians_killed > 2) then { ["End6", true, 4] call BIS_fnc_endMission }; }; }]; }; This worked fine thru a month of testing and adding other things to the mission. After I made a change to some triggers for text communications, the error popped up again. The triggers are separate & not related in any way to the civilians. I am using the islamic state guerilla units from project OpFor as the enemy units. LOP_ISTS_OPF_Infantry_Rifleman_2 & _3 LOP_ISTS_OPF_Infantry_SL. Any help in resolving the problem will be greatly appreciated.... -
Hi everyone. I am looking for a way to show a big countdown clock that starts from 18:00 to 00:00 Is there a way to do this? I can create scripts that would pop up messages say how long is left. But I want the timer to show up on the upper left side of th screen and actaully countdown the time. I will be grateful if anyone could help me.
-
zeus Client's FPS, Displayed for Zeus
driftingnitro posted a topic in ARMA 3 - ADDONS & MODS: COMPLETE
Script Version This mod enables Curators to see the Frames-per-second of each individual client when playing in multiplayer. Allowing the Zeus to identify if there is a widespread framerate problem, or if a few select users are experiencing issues. Comments in the code explain how to modify it if you want to change the 'Warning text' threshold which by default is 20fps.Given Arma 3 is now in 64 bit it's the perfect opportunity for players to test their performance in multiplayer coop games with large scale combat. Find out who's computer is the beefiest when playing with your unit, or be able to identify which player's computers are having trouble keeping up with all the action. A great tool for mission makers looking to maintain an optimized experience for their players when monitoring their progress in Zeus. Workshop Google Drive Armaholic -
Respawn on Squad Leader Help Needed !
doomnet posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
HI, I have put together with the help of many here and internet a team leader mobile respawn script. but there is still a problem when team leader is dead and other player of his group also, the player can respawn on his own dead body, also team leader can respawn on his dead body. so what to add in the code below or elsewhere, to prevent players from respawning on their own dead bodies ? respawnOnLeader.sqf if(isDedicated) exitWith {}; _side = side player; waituntil { "respawn_guerrila" setMarkerPosLocal (getPos leader player); "respawn_west" setMarkerPosLocal (getPos leader player); sleep 0.5; 0 > 1 }; initPlayerLocal.sqf player addEventHandler ["Respawn", //I believe this would be a better event handler for this situation { if (leader player != player) && {alive (leader player)}) then //make sure player is not the group leader and that the group leader is alive { _groupLead = leader player; player setPos ([_groupLead, 2, -(direction _groupLead)] call BIS_fnc_relPos); //not sure if this will work as I expect it to, if it doesn't, delete this line and remove the forward-slashes from the line below // player setPos ([_groupLead, 2, (direction _groupLead) * -1] call BIS_fnc_relPos); } else { systemChat "Group leader was not alive, you have respawned at base."; //If either condition is met, respawn the player at base //this will show the same message even if the player is the group leader, it will still work but look a little unrefined. "Of course the group leader was not alive, I WAS the group leader" }; }]; Thanks for helping me out its been 3 days now i'm searching, trying, learning that's not bad but server is down because of this problem.