I created a melee cleave ability for my hero unit and added some blood visual effect at the target. This works very well if the target is zerg. However, it looks odd if blood comes out when hitting mechanical units.
Does anyone know how to need the actor check the type of target and display the visual effect only when it is an appropriate target?
In the attack actor under Impact Map you'll notice various entries for Flesh, Metal, etc. This lets you specify different models to show for different target types. This information is gotten from the Model object, specifically the Default Squib field IIRC. (Don't have the editor open right now.)
Hide UI Frame trigger action
Doesn't seem to be possible to change the interior color (Set Dialog Item Color only sets the edge color) but it's not too difficult to make your own progress bar from an image.
I looked at the respective actor setting but it does not seem to have an Impact Map field. I suspect I used a wrong actor type. (I used Model) Which actor type should I use actually?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I created a melee cleave ability for my hero unit and added some blood visual effect at the target. This works very well if the target is zerg. However, it looks odd if blood comes out when hitting mechanical units.
Does anyone know how to need the actor check the type of target and display the visual effect only when it is an appropriate target?
Anyone?
Some more questions: 2) how can I hide the resource/supply displayed at the top right corner?
3) how can I change the color of the dialog: progress bar?
Thanks in advance!
Thanks a lot! I'll try these tonight!
I looked at the respective actor setting but it does not seem to have an Impact Map field. I suspect I used a wrong actor type. (I used Model) Which actor type should I use actually?