Search the Community
Showing results for tags 'dead'.
Found 10 results
-
So I have a problem with my helis/planes that whenever someone goes unconscious/is dead in one or one explodes you can't respawn and you either need the zeus to delete you or someone else pull you out of the vehicle. I have made this script so far but it doesn't seem to properly work. { if ( _X getVariable ["ACE_isUnconscious", false]) or (!alive _x) then {moveOut _x} } foreach crew _vehicle This seems to simply move the unconscious guy out of the vehicle even if he is the only one unconscious there. How would I make it so anyone who is unconscious gets moved out of the thing only when everyone else in the vehicle is also unconscious? Thank you in advance
-
I have this little script i found in a old TXT file i found, i wanted to use it in my game but i can't get it to work, I Believe that it is counting the civilian that i kill in the game and when i get over 1 killed it will end the game, but i have to kill all the civilian in the game to make the game end. if i put 8 in the game i have to kill all 8 before the game ends, i want the game to end if i only kill 1 civilian. Does anyone have the solution for me to my problem. The txt is in my INIT.SQF [] spawn { while {true} do { sleep 3; _cnt = { side _x == civilian } count allUnits; if (_cnt < 1) exitWith {"Loser" call BIS_fnc_endMission}; } }
-
Hi. I'm trying to make a script that triggers on AI death. On death the script will check what magazines the unit has, then remove his weapon (which removes all magazines for some reason) then put 1 magazine back to his corpse. So AI will drop only a single magazine of the ammotype they are using. This is what I've got {_x addeventhandler ["killed",{ _this spawn {_unit = _this select 0; removeallweapons _unit}; }]; } forEach allUnits; Now this is the first time I'm scripting in Arma so please use simple instructions. Thank you in advance!
-
Author: JTS Introduction: A mission in post-apocalyptic style. This is the continuation of Virus X - Scientists Description: August 10, 2023. It has been almost 2 years since Russia sent a squad to search for scientists. Chernarus is completely isolated from the outside world. There is almost no electricity left. The border of Chernarus is guarded by the best russian soldiers. However, some stalkers found a secret path to the territory of Chernarus. A squad called "Walkers" entered the territory of Chernarus a couple of days ago to find valuable items. One of them (Artem) was bitten by an infected. After a couple of hours, he felt sick. He had to leave the squad. A couple of days later he contacted us. Symptoms of the disease disappeared. Everyone realized that he is an antidote. Artem left the squad near Polana. After he contacted us, he said he was in Solnichniy and was heading to Tulga. After that, the connection was lost. Perhaps he is still there. Our squad of stalkers detected demons who were going to Tulga. It is necessary to distract them from there and save Artem. Currently the squad is in the hideout near the village "Kamyshovo". 30 minutes ago, electricity disappeared almost everywhere... Features: - Hardcore - Cut scenes - Inventory script (Read briefing and use items to restore your health and reduce fatigue) - 2 localizations: English & russian - Story - Almost every house is filled with objects for atmospheric gameplay - Toxic rain script - The number of the infected depends on the number of players - Lootable objects (Sacks, boxes, cabinets, boxes, cars and etc..) - Post-soviet color correction Notes: - This coop requires good teamwork! - You have to enable music in your game settings (60% is enough). Otherwise - don't play this mission. There is no crazy loud music - Read briefing carefully - NOT COMPATIBLE WITH ACE and other mods, which change the behaviour of AI - No JIP (Join in progress). To avoid arma bug with mission restart - choose the mission again from the mission list - Be sure you disable all not needed mods before you start the mission Credits & thanks: Urban (Mission testing) ALIAScartoons (Roadflare script, Monsoon script) Screenshots: Requirements: - CBA A3 - CUP Terrains Core - CUP Terrains Maps - CUP Terrains CWA - CUP Weapons - CUP Units - CUP Vehicles - RHS (All packages) - Zombies & Demons Download (Steam workshop) Download (Armaholic)
-
I have a co-op mission for up to 9 players and I have respawn enabled. When I start the mission in MP, everyone starts off dead unlike the AI. . . Also my script for allowing loadouts to be persistent even after dying and respawning isn't working. Any help would be appreciated and I can go further into detail about the mission if need be. Thanks
-
Hello, I'm trying to make animation for dead driver, but it doesn't works. I mean dead animation works when I use switchmove, but it doesn't switch when driver dies.. Here is my config: class CfgMovesBasic { class DefaultDie; class manActions { JPdriver= "JPdriver"; KIA_JPdriver="KIA_JPdriver"; }; }; class CfgMovesMaleSdr: CfgMovesBasic { skeletonName = "OFP2_ManSkeleton"; gestures = "CfgGesturesMale"; class states { class crew; class JPdriver: crew { file = "\Jetpack\data\anims\JPdriver.rtm"; interpolateTo[] = {"KIA_JPdriver",1}; die= "KIA_JPdriver"; }; class KIA_JPdriver: DefaultDie { file="\Jetpack\data\anims\KIA_JPdriver.rtm"; actions = "DeadActions"; speed = 0.5; looped = "false"; terminal = "true"; }; }; }; I know there is ejectdead, but I want driver to stay in vehicle. Also tried with die="KIA_JPdriver" and die = "DeadState", but both failed. Is it something with my animation that should be added or just Arma 3 fault? I've idea how to fix it with simple script, but I'd like to try something "clean" first if it is possible :(
-
Hey guys, I'm trying to put something together that will prevent players (Co-op) from picking up the weapons off a dead AI. It was easy enough to prevent them going into a dead AI's inventory but I'm stuck for a solid idea on how to stop them getting the weapon that gets dropped on the ground. At the moment I can use this on an AI once it dies: {_x enableSimulationGlobal false} forEach (nearestObjects [_unit,["WeaponHolderSimulated"],5]); This works, but it causes the player to level their view horizontally for what seems to be one frame, which is kind of distracting. Is there a batter way to achieve this?
-
Objective can be completed after its failed?
Yolo Joe posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello everyone. I'm having some issues with an objective I'm making. I am using the objective modules. I have set it up so you are going to kill a man. If you kill anybody else than this man, the objective fails. If the objective have failed, you can still kill the VIP and change the state of the objective from "Failed" to "Succeeded". This should not be possible! How can I fix it? -
I started to play the story Arma 3 after 2 years since i bought it. All fine until i died by a mine in Adapt > Signal lost mission the time the mission ended. I pressed continue to the next mission and the mission start but after 2 sec i am dead from the last mission, because i died at the ending of the last mission. With few words the "Signal lost" mission triggered the end successfully and after that i died by a mine in the mountain. The next mission starts and in 2 sec i die in the moral. (In the war words) So i can't continue campaign any more. I tryed to play Signal mission again to step automatically to the next mission as default by no dying this time, but i die again after 2 secs in the next mission. Also, there was no saves for the Signal mission, i had to play the mission from the begining.
-
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.