Staredit Network > Forums > SC2 Assistance > Topic: [Solved] Changing Doodad's color
[Solved] Changing Doodad's color
This topic is locked. You can no longer write replies here.
Nov 27 2012, 8:19 am
By: payne  

Nov 27 2012, 8:19 am payne Post #1

:payne:

I want to change a doodad's color via triggers. How do?
(The doodad is "Force Field Wall" if you are curious. I'd like it to either stay blue as it is, or to be set to look red.)



None.

Nov 27 2012, 8:27 am DevliN Post #2

OVERWATCH STATUS GO

I believe there is a "Set tint" (or something similar) action to do that.

EDIT:
Wait, crap, that may just be for units/buildings. If you need it to be changed via triggers, you could theoretically make the doodad into an unselectable unit.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Nov 27 2012, 9:03 am payne Post #3

:payne:

Quote from DevliN
I believe there is a "Set tint" (or something similar) action to do that.

EDIT:
Wait, crap, that may just be for units/buildings. If you need it to be changed via triggers, you could theoretically make the doodad into an unselectable unit.
Then, can you tell me how to make an unselectable unit with a doodad's image?



None.

Nov 27 2012, 9:36 am DevliN Post #4

OVERWATCH STATUS GO

Create a unit, set the unit's actor to the same actor the doodad uses, and then set the unit's flags to "Unselectable", "Untargetable", "Invulnerable".



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Nov 27 2012, 10:03 am TF- Post #5

🤙🏾

There's a 'send actor message' trigger action that can be used to send tinting/etc messages to any actor, unit or doodad.



🤙🏾

Nov 27 2012, 10:55 am Ahli Post #6

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

If it is preplaced, you should be able to tint it in the preplaced doodad's properties.

If you want to tint it more dynamically, you need to send an actor message to the doodad.

If you want to tint all of these doodads from map's start, you can add the following into actor events:
ActorCreation -> Set Tint Color




Nov 27 2012, 11:15 am payne Post #7

:payne:

Quote from TF-
There's a 'send actor message' trigger action that can be used to send tinting/etc messages to any actor, unit or doodad.
Any more details on that? How would I create the said message?
The thing is, I have 2 times the same doodad representing goals. I want one to stay blue since it represents Blue Team's goals, while I'd like the other one to look Red. The message method would only change one doodad's tint, right?
Because I must switch the color of the doodads at some point in the game (teams switch side, and thus their goals should switch colors too).



None.

Nov 27 2012, 11:21 am DevliN Post #8

OVERWATCH STATUS GO

As long as you just tint the doodad and not the doodad's actor, it wont affect both.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Nov 27 2012, 12:16 pm TF- Post #9

🤙🏾

Only one object will be affected, IIRC it's pretty intuitive to use it, you just pick Send Actor Message then mess with the parameters:
- target actor: Actor From Doodad -> Value, then it lets you pick the doodad from the terrain editor, or you can use a Doodad variable (initialized at map start with your doodad)
- message: you can pick Value or Function here, Value gives you the same interface as the data editor, Function means you can use trigger variables as actor message parameters (useful)



🤙🏾

Nov 27 2012, 8:20 pm payne Post #10

:payne:

Quote from TF-
Only one object will be affected, IIRC it's pretty intuitive to use it, you just pick Send Actor Message then mess with the parameters:
- target actor: Actor From Doodad -> Value, then it lets you pick the doodad from the terrain editor, or you can use a Doodad variable (initialized at map start with your doodad)
- message: you can pick Value or Function here, Value gives you the same interface as the data editor, Function means you can use trigger variables as actor message parameters (useful)
Worked perfectly. Thank you.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Roy, RIVE, IlyaSnopchenko