Staredit Network > Forums > SC2 Assistance > Topic: Set Tint Color of Actor
Set Tint Color of Actor
Apr 9 2013, 10:39 am
By: DevliN  

Apr 9 2013, 10:39 am DevliN Post #1

Woah

Is there a way to set the tint color of an actor that has no unit associated with it? I've been trying to change the tint color of an actor that's using an OmniLight model, and can't seem to figure out how to get it to work. When I'm using the "Actor - Send Actor Message" action, it wont properly link to the actor. Is there maybe a way to set the tint via Catalog instead? I'm at a loss here.



:devlin: Currently Working On: :devlin:
Myself

Apr 9 2013, 11:23 am TF- Post #2

🤙🏾

There must be, I've sent Set Tint and Set Opacity messages to doodads, just make sure you're using the right trigger action.
If you used the omnilight doodad then you should be able to target it with Send Actor Message where Actor is the "Actor From Doodad" function.
If it's a dynamically created actor, you'll need to use one of the 'Send Actor Message to Actors in Region' actions or however they're called.



🤙🏾

Apr 9 2013, 11:53 am DevliN Post #3

Woah

Doodads are still considered units, though, right? This is just a model and an actor, nothing else. It's only being used to attach to other things.

So essentially the question is whether I can send an actor message to an actor without a unit associated with it to begin with, and if it can be done while the actor isn't created via triggers or pre-placed on the map?



:devlin: Currently Working On: :devlin:
Myself

Apr 9 2013, 11:57 am TF- Post #4

🤙🏾

Doodads are definitely not units, just actors. How is this actor created anyway?



🤙🏾

Apr 9 2013, 6:51 pm DevliN Post #5

Woah

I created a model linking to an OmniLight. Then I created an actor linking to that model. In the Events+ for the actor, I have it created on units and killed when those units die.

I guess I can create the actor somewhere on the map, change it, and then kill the actor. I was just hoping there was a better way to do it. :/

EDIT:
Hmm. So I'm creating the actor at a point on the map, then using "Actor - Send message (Set Tint Color (Color((Current player IntegerVariable color))) with HDR 1.0 over 0.0 seconds) to actor (Last created actor)" and it isn't working. I'm about ready to scrap this idea entirely.

Post has been edited 1 time(s), last time on Apr 9 2013, 7:08 pm by DevliN.



:devlin: Currently Working On: :devlin:
Myself

Apr 9 2013, 7:21 pm Ahli Post #6

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

You can't tint light.

You need to swap the model via actor message to alter the omni light color...




Apr 9 2013, 7:30 pm DevliN Post #7

Woah

Ah, so I can only use the predefined colors? That sucks. Oh well. Thanks, guys.



:devlin: Currently Working On: :devlin:
Myself

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
Please log in to shout.


Members Online: Rawflesh0615, Zoan