[SOLVED] Pick random 3 units from unit group

Status
Not open for further replies.
Level 7
Joined
May 18, 2010
Messages
264
Realy simple one just cant find it and i saw it somwhere
  • Chilling Wind
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to |cfff0e68cChiling Wind|r
    • Actions
      • Set ChillingWind_Unit = (Triggering unit)
      • Set ChillingWind_Point = (Target point of ability being cast)
      • Unit Group - Add all units of (Units within 300.00 of ChillingWind_Point matching (((Picked unit) belongs to an ally of (Owner of ChillingWind_Unit)) Equal to True)) to ChillingWind_Group
      • Unit Group - Pick every unit in ChillingWind_Group and do RANDOM 3 UNITS ????
pick random 3 units from chillingwind_group not all :(???
 
Instead of selecting ChillingWind_Group as the UnitGroup for the pick-every function, selected instead "Random N units from unit group" and then select it.

  • Unit Group - Pick every unit in (Random 4 units from (ChillingWind_Group)and do (Actions)
    • Loop - Actions
 
<3 THX lolz i still didnt figure it out till now :)
ofc +rep

closed pls dont write
 
Status
Not open for further replies.
Back
Top