blueprint

Mutate dino colors Event Graph(part1)

  • Exposure: public
  • UE Version: 4.19

avatar author

pr0me

March 30, 2018, 9:58 am

This graph randomly chooses a color for every region on any creature when buff is applied. This particular applies it from an arrow.

Boolean Changed needs to have save game enabled.
Array Random Color also needs to have save game enabled.
Random Color is a rep notify array, and sets itself to have it fire the notify related function. The notify function passes the server side variable color data to all clients.
There is a fail safe check on the Coloring event to ensure the array is large enough to get index 5. This is to prevent server crashing.
You must Get from the Coloring Event like I have done and drag it to it's destination.
You will want to make the buff persistent and uncheck prevent saving aswell(in the buff defaults tab).

Part 2, On Rep Random Color function, see herehttps://blueprintue.com/blueprint/1e2rmp-i/

Huge thanks tolethalaffliction for helping me improve this graph!

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v
Versions
March 30, 2018
  1. Updated and optimized loop for appliying color.

  2. Updated to replicate. Communication between client-client is improved.

  3. Initial

    See