Question about unit IDs

Reaction score
86
If I wanted to make a wave system where it simply generated the unit id on its own instead of having to create a trigger or manually input each unitid on its own what would be the mathematical way?

For example
Wave 1 ID: 'c000'
Wave 2 ID: 'c000' (+-/*) x? = 'c001'
Wave 3 ID: 'c000' (+-/*) x or x^2? = 'c002'
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
You cant alter unit ids with math the way you want it
 
Reaction score
86
Not exactly. Its not creating a random unit/hero; and i have tested it; 'c000'-'c001' = -1 and 'c000'+1 2String = 'c001' the only thing Im concerned about is 'c009' to 'c00A'. Im going to test it now and see how that works.

'c00A'-'c009'=8

too much effort; just going to use arrays.
 
General chit-chat
Help Users

      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