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.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy