Zalinian
New Member
- Reaction score
- 0
I'm looking to make a chat command using sub strings and Conversion: String to Unit-Type to create units.
IE: -spawn X Y
Where X is the number of units, and Y is the unit.
I can already make the basic trigger work, but I can't get it to spawn custom units. -spawn 5 footman works but -spawn 1 zed doesn't (zed being my custom worker).
How can I refer to custom made units through strings?
IE: -spawn X Y
Where X is the number of units, and Y is the unit.
I can already make the basic trigger work, but I can't get it to spawn custom units. -spawn 5 footman works but -spawn 1 zed doesn't (zed being my custom worker).
How can I refer to custom made units through strings?