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

OVERWATCH STATUS GO

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\:
My Overwatch addiction.

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

OVERWATCH STATUS GO

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\:
My Overwatch addiction.

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

OVERWATCH STATUS GO

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\:
My Overwatch addiction.

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

OVERWATCH STATUS GO

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



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

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:58 pm]
Pr0nogo -- Suicidal Insanity
Suicidal Insanity shouted: Moose Naw - if that is an option, it should be a global option
agreed
[02:58 pm]
Pr0nogo -- no problem
[11:47 am]
rnDPrc -- Pr0nogo
Pr0nogo shouted: though idk if you can extract them from scr anymore since casc took effect, so you can download them here
Thank you :)
[11:28 am]
Suicidal Insanity -- Pr0nogo
Pr0nogo shouted: though idk if you can extract them from scr anymore since casc took effect, so you can download them here
SC:R still ships with all the old MPQs
[11:26 am]
Suicidal Insanity -- Otherwise it clutters up the UI and you have inconsistent names from location to location
[11:26 am]
Suicidal Insanity -- Moose
Moose shouted: Basically, anywhere that supports custom unit names should have an option to use the originals imo
Naw - if that is an option, it should be a global option
[11:10 am]
Pr0nogo -- though idk if you can extract them from scr anymore since casc took effect, so you can download them here
[11:08 am]
Pr0nogo -- rnDPrc
rnDPrc shouted: Where can I learn more about the default AI Scripts behavior? I'm having some problems here
extract the scripts using pympq and open them in pyai (using the python modding suite) and use nekron's guide as a reference
[10:57 am]
NudeRaider -- http://www.staredit.net/372001/ thou shalt not judge
[10:18 am]
rnDPrc -- I mean the Run AI Script trigger choices
Please log in to shout.


Members Online: Roy, Gronertse7, Suicidal Insanity