Jump to content

steam-76561198013707443

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Everything posted by steam-76561198013707443

  1. steam-76561198013707443

    The problem is in scripting

    I want to make a script in which there will be a task to mine the road. I need the task to be completed when more than 3 bombs are placed on the road. I try to accomplish this using a script, but it does not work for me. Anyone have any ideas? this exec "S1.sqs" itemsDelivered = 0; player1 addeventhandler ["Put",{ _player1 = _this select 0; _object = _this select 1; _type = _this select 2; if (isServer) then if (_type == "_SatchelCharge_F") then {itemsDelivered = itemsDelivered + 1;}; } [] spawn { waituntil {sleep 1; itemsDelivered == 3}; sleep 1; };
×