Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About SomethingSimple

  • Rank
  1. Hi guys, Recently started giving scripting a bit of attention but ran into a problem. Iam trying to create a simple script that would put hit markers onto targets and subsequently addAction to delete them. The last part is what Iam struggling with as I am not able to get the spawned spheres into array to delete them: _targets = [0,0] nearObjects ["TargetBase", 9999999]; _bulletholes = {_x addEventHandler ["HitPart", {_spr = "Sign_Sphere10cm_F" createVehicle [0,0,0]; _spr setPosASL (_this select 0 select 3);}];} forEach _targets; hint format ["%1,%2,%3", _bulletholes]; _targets just looks for TargetBase objects _bulletholes tries to create the Hit Markers using eventHandler HitPart. But when i try to use the bulletholes variable it just returns count of spheres created, not the objects themselves. Thanks for your help, Simple