Maker i need this thing once again...please give me the thing that you gave me before Maker.
----------
Add unit types:
Custom script: call UnitPoolAddUnitType(up, 'Hpal', 1)
Replace the Hpal with the raw code of your unit. You can find out the raw code by going to the object editor and clicking ctrl + D.
You may need to adjust this also:
Custom script: call UnitPoolRemoveUnitType(up, GetUnitTypeId(PlaceRandomUnit(up, GetTriggerPlayer(), 0, 0, 0)))
GetTriggerPlayer is the player for who you want to create the unit for. Dependin on the event used, you may have to change that.
The first 0 is the x coordinate where the unit is spawned.
The second 0 is the y coordinate where the unit is spawned.
The last 0 is the facing of the spawned unit.
----------