Jump to content

Cigs4

Member
  • Content Count

    52
  • Joined

  • Last visited

  • Medals

Community Reputation

18 Good

About Cigs4

  • Rank
    Lance Corporal

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you guys! I got help from Charlie at SML Scripting & Moding and Prisoner and LeonZ at Arma 3 Scripting & Goodies. Prisoner is the author of the script I'm going to share here, in case anyone else needs something similar. 0 = []spawn { private _civs = units civilian; private _newPos = getPosATL newpos; { private _unit = _x; private _oldPosition = getPosATL _unit; _unit setVariable ["TAG_oldPosition",_oldPosition]; _unit forceWalk true; _unit commandMove _newPos; } forEach _civs; sleep 20; { private _unit = _x; private _orginalPosition = _unit getVariable "TAG_oldPosition"; _unit forceWalk true; _unit commandMove _orginalPosition; } forEach _civs; }; Thanks again! This community is awesome. Cheers!
  2. Thanks, JCataclisma. I'll try that.
  3. Hello, I need help please. I'm trying to move some civilians from their positions to the same location and then return them to their original positions. They are all in different positions at the start. I know how to make them go to the first position, but I have no idea how to get them back to their original position. It's for a dedicated server. Any help would be greatly appreciated.
  4. Thank you very much, gentlemen. As always, your help is invaluable. I did exactly that, I chose a small object, I placed it exactly in the lock of the gate (inside it, so it's out of sight), I used the bis_fnc_attachToRelative, to keep it in place and voilá, action available. Thanks again!
  5. Apologies for the delay. This is the classname: "Land_PipeFence_03_m_gate_r_F" Thanks!
  6. Hello Arma gurus! I have a question regarding ACE. I would like to put an action on a gate via eden editor. This action should appear in the ace interaction exactly where the lock on the gate is. For some reason unknown to me, the interaction appears in the center of the gate and not in the lock. Here's the code I'm using: _action = ["actlock","Lockpick","",{Vrbpick = TRUE; publicVariable "Vrbpick"},{true},{},[], "door_handle_1", 5] call ace_interact_menu_fnc_createAction; [gate1, 0, ["ACE_MainActions"], _action] call ace_interact_menu_fnc_addActionToObject; Any help I would really apreciatte.
  7. Thank you very much, Harzach! But I was wondering if it's possible to use any code to remove the action, the issue is not about locking the door. The code above does it, but remove the action from all doors in the building. Thanks again! 👍
  8. Sorry to bring this old post back, but I would like to know if it is possible to use what pierremgi posted above in a house with several doors, but removing the command for only one of those doors. Thanks a lot.
  9. Many thanks to both of you for your help. Larrow, actually after doing what you suggested, I saw that the mortar returned nil for ammo. I never suspected it might be out of ammo, in fact I believed it had infinite ammo. One more thing learned. Thanks again, gentlemen.
  10. Hello! I'm stuck for a few days on this. The idea would be that, as soon as a trigger is activated, a mortar will start shooting at the players. 0 = []spawn { while {alive gun_1G} do { sleep 15; _ammo = getArtilleryAmmo [gun_1] select 0; _tgt = player getRelPos [50,30]; [gun_1,[_tgt,_ammo,1]] remoteExecCall ["doArtilleryFire"];}; }; The code is in a trigger with Activation BLUEFOR, DETECTED BY OPFOR. It's a dedicated MP environment. The trigger works, but gives this error: "Error Undefined variable in expression: _ammo". I don't know how to fix this, I searched and didn't find a solution. Would anyone know how to help me, please?? Thanks in advance.
  11. Thanks for the prompt reply, gc8. I found that the problem is related to a mod and not the game or something I did wrong. The cTab mod follows the order of connection on the server and not the order of the slots, so they all appear with the wrong number when you follow the movement through cTab. I'll have to figure out how to fix this in cTab, if that's possible. Thanks again!
  12. Hello, I hope you guys can help me, please. I created a group with BIS_fnc_dynamicGroups. It works, but I wanted to go one step further. Each member of my group has a number, so I would like the members to be in numerical order in the group, regardless of the order they enter the server. The question is whether it would be possible to do this. Any help would be greatly appreciated. Thanks!
  13. Cigs4

    enableSimulationGlobal on Ded-server

    Hello! I'm no expert, but I think it's easier if you do it via script, creating and deleting mines accordingly.
×