Run a unit group variable with custom script

LaZyNation43

New Member
Reaction score
2
Hey

I am trying to figure out how to set:
Unit - Create 1 (Random1) at (Region) facing (270 default building facing degrees)
to
Unit - Create 1 (Random2) at (Region) facing (270 default building facing degrees)

Matching the entering unit of the region and has to equal the same spell ability being cast to create a different unit, like evolving.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> (Matching unit) Equal to (Entering unit)

Why do you need a group for that?
It's only one unit, the one that entered.

There's a boolean comparison for "unit in unit group".
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
Like Ace said, you don't need a group for that, but if you really want to know, the Matching unit is where you set TempGroup

Ex:
Set TempGroup = Units in region X matching unit type of matching unit equal to someothertype
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top