Make sure your "ultramarine" is not duplicated perhaps your trigger is selecting a unit that you accidentally made in the process of modifying the marine?
Also make sure the Unit ID matches up with the model and actor
Quote from DrakePageau:
Also make sure the Unit ID matches up with the model and actor
Balls are result of an actor not being tied to a unit to create a model.
I'm trying to find a guide that easily documents this, but essentially:
If you copy/paste a unit to make a new unit, there are ties in the actor events that tell when a unit births to create a model that get severed, resulting in the ball.
One solution is to right click original unit -> duplicate, and check the actor area to duplicate a linked actor for it to make a model. This is the lazy way and I don't personally enjoy doing this unless I specifically plan to do something custom with the actor for the custom unit.
The other solution is after copy pasting the original unit, go back to the original unit and look at the bottom left Object Explorer. You'll see an Actor (typically called the same thing as the unit, e.g. Marine actor). Click on it, and the right side will show actor information about that Marine.
Now go to the Events + section. You'll see some fields you want to copy for your new unit:
What you want to do is select the the flag entries related to Marine, e.g. UnitBirth.Marine, and copy paste it. This will cause an exact copy of the event to be created. Now, change the UnitBirth.Marine to the UnitBirth.<your new unit>, in the Source Name drop down on the right. Make one for unitbirth, unitrevive, unitconstruction, unitdeath, etc etc.. Copy pasting the old values and modifying it with your new one.
I normally do the second solution to create new units, though it can be more tedious, it keeps my actor section nice and tidy. lol
Just like topic. When I'm spawning a unit with a trigger, it appears as the ball, even though I can place it on the map and have it appear correctly.
Spawn Marine - Player 1
Events
Unit - Picker [18.90, 234.16] Enters Pick Marine
Actions
Unit - Create 1 Ultramarine for player (Triggering player) at Point 001 using default facing (No Options)
Unit - Remove (Triggering unit) from the game
Any thoughts on why this is happening, or what I can do to fix it?
@JumpeiSC: Go
Another note: This only happens when I make my custom unit. Blizzard units spawn fine...:(
Make sure your "ultramarine" is not duplicated perhaps your trigger is selecting a unit that you accidentally made in the process of modifying the marine?
Also make sure the Unit ID matches up with the model and actor
Quote from DrakePageau:
Also make sure the Unit ID matches up with the model and actor
Balls are result of an actor not being tied to a unit to create a model.
I'm trying to find a guide that easily documents this, but essentially:
If you copy/paste a unit to make a new unit, there are ties in the actor events that tell when a unit births to create a model that get severed, resulting in the ball.
One solution is to right click original unit -> duplicate, and check the actor area to duplicate a linked actor for it to make a model. This is the lazy way and I don't personally enjoy doing this unless I specifically plan to do something custom with the actor for the custom unit.
The other solution is after copy pasting the original unit, go back to the original unit and look at the bottom left Object Explorer. You'll see an Actor (typically called the same thing as the unit, e.g. Marine actor). Click on it, and the right side will show actor information about that Marine.
Now go to the Events + section. You'll see some fields you want to copy for your new unit:
What you want to do is select the the flag entries related to Marine, e.g. UnitBirth.Marine, and copy paste it. This will cause an exact copy of the event to be created. Now, change the UnitBirth.Marine to the UnitBirth.<your new unit>, in the Source Name drop down on the right. Make one for unitbirth, unitrevive, unitconstruction, unitdeath, etc etc.. Copy pasting the old values and modifying it with your new one.
I normally do the second solution to create new units, though it can be more tedious, it keeps my actor section nice and tidy. lol