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.
[11:13 pm]
Suicidal Insanity -- There was a blue post to that effect, why would it be silly?
[08:37 pm]
NudeRaider -- Suicidal Insanity
Suicidal Insanity shouted: to do with the fact that macos is phasing out 32bit support
that would be silly but might still be true
[08:33 pm]
jjf28 -- there was a neat trick in 1.16.1 with the sprite structure... though it's not in SC:R
[07:43 pm]
Zoan -- I'll try it when I get home
[07:30 pm]
Zoan -- anyone know how to make selection persist through walking in fog of war with eud's? http://www.staredit.net/topic/7729/unread/#special
[02:17 pm]
Suicidal Insanity -- to do with the fact that macos is phasing out 32bit support
[02:17 pm]
Suicidal Insanity -- NudeRaider
NudeRaider shouted: The changes are all "under the hood" main reason for 64 bit is access to more than ~3.5GB RAM. Probably not relevant to Starcraft though.
it may, just maybe, just a littgle, havet
[2019-10-22. : 5:07 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider <3
even though I clearly put no effort into those arrows? :P
[2019-10-22. : 5:06 am]
NudeRaider -- http://i.snipboard.io/k3C9O2.jpg ... because all the main characters suffocated during this scene
Please log in to shout.


Members Online: C(a)HeK, Roy, Karlsaq3, uwihake