Page 1 of 1

[DECORATE] Summoned/Spawned monster to share player's color

Posted: Wed Jan 18, 2017 10:11 pm
by Disguise
How do I make monsters summoned/spawned by a player have the same color as them? (Like in Stronghold, when you place sentries and spawn marines)

[DECORATE] Re: Summoned/Spawned monster to share player's color

Posted: Wed Jan 18, 2017 10:28 pm
by Konda
When using A_SpawnItemEx, use the flag SXF_TRANSFERTRANSLATION
https://zdoom.org/wiki/A_SpawnItemEx

[DECORATE] Re: Summoned/Spawned monster to share player's color

Posted: Wed Jan 18, 2017 11:23 pm
by Disguise
Alright, thanks! :)