Jump to content

yakiecho

Member
  • Content Count

    2
  • Joined

  • Last visited

  • Medals

Everything posted by yakiecho

  1. Hello, im newbie at scripting on Arma 3. I write a short script for searchlight. But for unknow for me reasons its crashes. _searchlights = [searchlightTower1, searchlightTower2, searchlightTower3, searchlightTower4]; _searchlightmans = [searchlightman1, searchlightman2, searchlightman3, searchlightman4]; { _searchlightman = _x; _searchlightman spawn { params ["_searchlightman", "_searchlights"]; while {alive _searchlightman && alive _searchlights} do { if (!alive _searchlightman || !alive _searchlights) then { _searchlights select _forEachIndex setDamage 1; break; }; }; }; } forEach _searchlightmans; What am i doing wrong? Can u help me pls.
  2. yakiecho

    What am i doing wrong?

    thanks, i get it😊. still hard, but tnx.
×