Don
Rise with the Fallens!
- Reaction score
- 52
I want to display a such to every player:
Level X : *nbr of units created* *type of unit* in every corner.
EX: Level 6: 25 Footman in every corner.
And i'm using this action:
Var: level = integer (no array). ***this part work***
Time ammount = integer (no array, 20 beggining value). ***this part work***
Unit_type = unit type variable (with array, states the unit type) ***this part doesn't work***
So what it does is in exemple, i take footman from preset units (world editor allready made units) and create them. Then, it displays correctly the name when at ( |cffffcc00 + ((String(unit_type[level])). BUT, when i make a custom unit ''ex: pig'', it displays thst:
Level 1: 20 Custom_h033 in every corner.
Why?
Am i suppose to use something else for custom units?
Level X : *nbr of units created* *type of unit* in every corner.
EX: Level 6: 25 Footman in every corner.
And i'm using this action:
Code:
Game - Display to (All players) the text: (Level |cffffcc00 + ((String(level)) + (|r: + ((String(time_ammount)) + ( |cffffcc00 + ((String(unit_type[level])) + |r in every corner.))))))
Var: level = integer (no array). ***this part work***
Time ammount = integer (no array, 20 beggining value). ***this part work***
Unit_type = unit type variable (with array, states the unit type) ***this part doesn't work***
So what it does is in exemple, i take footman from preset units (world editor allready made units) and create them. Then, it displays correctly the name when at ( |cffffcc00 + ((String(unit_type[level])). BUT, when i make a custom unit ''ex: pig'', it displays thst:
Level 1: 20 Custom_h033 in every corner.
Why?
Am i suppose to use something else for custom units?