What I want: to store a region behind my Car unit and apply the OilSlick behavior to units in that region.
Problem: When I add a positive circle 4 units behind my car with a radius of 0.01 it somehow contains every unit in the entire map! The trigger is below. The effect is to put the Oilslick behavior on everyone in the map.
Why on earth would a positive circle with a radius of .01 be that huge?
Problem: When I add a positive circle 4 units behind my car with a radius of 0.01 it somehow contains every unit in the entire map! The trigger is below. The effect is to put the Oilslick behavior on everyone in the map.
Why on earth would a positive circle with a radius of .01 be that huge?
- Region - Add a Positive circle centered at ((Position of Cars[tempPlayerNumber].Unit) offset by 4.0 towards ((Facing of Cars[tempPlayerNumber].Unit) - 180.0) degrees) with radius 0.01 to OilSlickedRegion
-
Unit Group - Pick each unit in (Any units in OilSlickedRegion owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
- Debug - Display (Name of (Unit type of (Picked unit))) as debug output using Type 01, and Do display it in the game window
- Unit - Add 1 Oil Slicked to (Picked unit) from Cars[tempPlayerNumber].Unit