Debris Explosion Set Color

Discussion in 'How Can I...?' started by neilioEscobar, Apr 5, 2021.

  1. neilioEscobar

    neilioEscobar Boxer

    Joined:
    Dec 4, 2016
    Messages:
    19
    Likes Received:
    4
    I have enemies that are randomly set to a different color and I would like the debris explosion to inherit their current color but that only works if the enemy is set to the default color and does not apply to the Set Color node. How would I be able to set the debris explosion color based on the color that was set for the enemy using the Set Color node?
     
  2. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    I don't think its possible unless you have some custom script node. The only other work around is to create different colour enemies with the same colour debris node and then have the game select them as the random, rather than random set colour.
     
  3. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    605
    Likes Received:
    361
    Enable Inherit Color option on your Debris Explosion and it will be the same color as the character
     
    Last edited: Apr 6, 2021

Share This Page