Evote
New Member
- Reaction score
- 4
i want to make a unit within range or a unit or type. Could someone telll me how.
Unit Group - Pick every unit in (Units of type Seeker Missile) and do (If ((Number of units in (Units in (Playable map area))) Greater than or equal to 1) then do (Unit - Kill (Picked unit)) else do (Do nothing))
Events
Your Event here
Conditions
Your Conditions here
Actions
Unit Group - Pick every unit in (Units within 200.00 of position of triggering unit
Your Actions
Event
A unit starts the effect of an ability
Conditions
(Ability being cast) is Launch Missle
Actions
Wait 5.00 seconds
Set Missle_UnitGroup to Units within 500 of Missle
Pick every unit in Missle_UnitGroup and do actions
Loop (Actions)
If (Conditions)
(Picked Unit) equal to Footman
Then (Actions)
Do Nothing
Else (Actions)
Unit Group - Remove (Picked Unit) from Missle_UnitGroup
Unit - Kill Missle
Pick every unit in Missle_UnitGroup and do actions
Loop (Actions)
Unit - Kill (Picked Unit)
<Add special effects, etc>
Untitled Trigger 001
Events
<Whatever>
Conditions
<Whatever.
Actions
Set PointVar = <Some Point>
Set UnitGroupVar = (Units within <Some Real> of PointVar matching ((Unit-type of (Matching unit)) Equal to <Some Unit>))
Set UNITRANGEUNITGROUP = (Units within 65.00 of !!!uNIT OF TYPE<<<<))