Map Editor Help!

Hello there, I have a very particular request and am not sure how to emulate it in my own games using triggers. If you ever played diplo infinity or diplo gold states would have a “unique unit” which would train from regular production structure, for example, A barracks would create a goliath which is usually an ‘artillery unit’ but say the German state had a unique artillery unit, the goliath would still build and pop out of the structure but within a few seconds would turn into an entirely different unit, say the Alan Szechar goliath renamed as “german artillery” with extra firepower, and this would work anywhere on the map.

What triggers would I want to create to have a “unique” unit result from the training of a regular unit for a specific player? In my case I want a Jim Raynor marine to spawn instead of a regular marine. Thanks so much!

I guess you have to remove spawned marine and create on his place a Jim Raynor. Probably you have to work with EUD triggers, check “staredit. net” site for this.

EUD Triggers? Different from regular triggers? Thanks so much! ill head over there and take a look. @zol