Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Everything posted by Cigs4

  1. Thanks a lot for the help, guys! I could never do this alone, for sure. Living and learning... that's my thruth in Arma. Thanks again!
  2. Hello! I'm trying to make a script that adds an intel item to the AI enemies loadout, randomly. It would be several different intel items in different AI's, both randomly. I did something like this, but it didn't work. I am very grateful for any help. I'm a noob in scripting, unfortunately. Thanks. private ["_intelItems"]; _intelItems = ["Item_MobilePhone","Item_SmartPhone","Item_FlashDisk","Item_PropCamera_lxWS","Item_SecretDocuments","Item_FileTopSecret","Item_SecretFiles","Item_Files","Item_Laptop_Unfolded","Item_Laptop_closed","Item_ItemMap","Item_SmartPhone","Item_NetworkStructure","Item_Wallet_traitor"]; if (side _x == EAST) then { _x select (random (count _x)) additem (_intelItems call BIS_fnc_selectRandom); }forEach allUnits;
  3. Hello, I need some help with some coding, please. I placed a machine gun attached to the side of a vehicle for fire support purposes. So I want to be able to take that weapon from the vehicle, use it, and put it back in the same place. And I want the gun's magazine saved as is. It's like saving an inventory (for a weapon instead of a player). I've been searching for a few hours and I haven't found any code that can save the magazine or put the gun back on the side of the vehicle. Any help would be greatly appreciated. Thanks!
  4. Hello!! I did a mission with some animations created via remoteExec and others I removed the "PATH", all on a dedicated server. What I'm trying to do is when an AI gets shot or someone fires nearby, it exits the animation and engages the enemy. So, I tried this: if (side _x isEqualTo EAST) then { _x addMPEventHandler ["MPHit", { (_this select 0) enableAI "PATH"; [(_this select 0),""]remoteExec["switchmove"]; (_this select 0) setUnitPos "UP";}]; } forEach allUnits; if (side _x isEqualTo EAST) then { _x addEventHandler ["FiredNear", { (_this select 0) enableAI "PATH"; [(_this select 0),""]remoteExec["switchmove"]; (_this select 0) setUnitPos "UP";}]; } forEach allUnits; But no sucess... I don't know what I'm doing wrong or if I did something right at all. Please, help! Thanks in advance.
  5. Thank you very much for the answers and the correction. Really helpful. I will dig a little more about this, but if anyone knows something else, I would really appreciate any help.
  6. Hello Guys, Here's the problem: Playing on a dedicated server, my team is small and uses UAV's for recon. What is happening is that when the member responsible for the UAV and who has the terminal connected to it is shot and dies, that UAV is stuck to that player and, even if he respawns, it is no longer possible to connect to that UAV. I would like a code that disconnects a dead player's terminal from an UAV. I tried this: while {true} do { {_x connectTerminalToUAV objNull} forEach AllDeadMan; }; sleep 6; But no success... Can someone help me, please?? Thanks in advance.
  7. Works perfectly !!! Thanks a lot, gc8. And thank you also, Maff! 👍
  8. Hello Arma gurus! I need a little help, please. I'm trying to create a waypoint or trigger condition which activates with playableUnits present, EXCEPT a player who is a Curator. Is that possible? Thanks in advance!
  9. Load the game then try to reload your plugin, via teamspeak. Works for me. Good luck.
  10. Hello, It's possible to put an "addaction" command to a certain building door ? I did locked all this building doors via gamelogic (9 doors in total). Now I want to put an addaction to some of this doors. Is there any easy way to do it? I know there are some scripts to breach doors and all, but I was thinking to do it as simple as possible, just an addaction to unlock/picklock. That's it. For info, the map is Zargabad. Thank you in advance
  11. Hello, I'm trying to create a loop to satiate hunger and thirst on acex. I know this sounds weird, but I need it only for whoever is on Zeus, so he can do his job without interference. Thanks for the help.
  12. Cigs4

    Acex vs Zeus

    Works!! Thank you, Mr H. You save me, again! 👍
  13. Thank you very much, Mr H. For your time and patience. 👍
  14. Hello guys! I'm trying to load a bodybag in a specific vehicle, a plane in this case, but I'm having some trouble with this code: "cargoplane" is the name of the vehicle. It shows me an error "Generic error in expression". And I can't identify it. Anybody can please, help me? Thanks!
  15. Thanks, Dedmen, but I'm not shure how to do this, then. Can you help and show me how to do it properly? Thanks again.
  16. Hello, guys! I really need your help, I'm stuck in this for a few days. Here is the thing: I'm trying to iniciate a fire in a warehouse with an incendiary grenade from ACE or RHS. But the trigger did not recognize the classname of it, or any other class of names that I tryed. I made a trigger 10x10x5 and I want the condition for that trigger to fire is the presence of one of those incendiary grenades. That's it. Classnames as follows: "rhssaf_mag_brz_m88" "rhs_mag_an_m14_th3" "ACE_M14" I'll appreciate any help provided. Thanks.
  17. Thank you very much, pierremgi. Works just fine. It's a pitty that I could not find the ammo class for the ACE_M14. 👍
  18. Unfortunately did not work... the trigger does not recognize the grenades. But thanks for the try. If anyone else could help, I'll really apreciate, thanks.
  19. OK, thank you very much! I will test as soon as possible.
  20. Hello, First of all, if this was already posted, I apologize. Ok, here is the thing: The mission is about recover a body. I'm trying to activate a trigger when an object, "ACE_bodyBagObject" (classname), is putted inside a vehicle with ACE interaction system. The problem with ACE is that the object called "bodybag" with a corpse in it, is created during the game session, so I can't name it. I really appreciate any help from you, guys. And sorry if this is too noobish, but I'm new in coding. Thanks!
  21. Thank you, guys! You rock! I had an incident and I was without a computer for a while, so sorry if I did not reply this earlier. And I did not format my texts, never did. Don't know what happened to you, but for me it's normal. Anyway, thanks again! Here is the solution:
  22. Hello Hajz, It's not working for me either...
  23. Thanks, HazJ! You helped me with another issue that I had. Own you a beer aswell. Cheers!
  24. Thank you very much, Grumpy! I can see what you did it. That's exactly what I was looking for. Really cleaver, by the way. Own you a beer. Thanks again!