I've started this topic to make it easier for newbies to get a quick answer to questions concerning objects already on the map.
My newbie question for the day is in this realm is:
How do I remove a couple of bushes that are sticking through the floor of my hangar?
I know what the IDs are but not how to setDamage to them. The objects are bushes.
I put a game logic near them. Named the logic "bob". I put this in a sqf file and named it "Landscape". This is the script:
_array1 = nearestObjects [bob,[], 350];
~1.5
{_x setdammage (1.0)} forEach _array1;
exit
I get an "Invalid expression" Error.
Any clues?