I need to know how to get actors to talk to each other in the data editor.
As in for example, in the events+ section:
Actor 1
Behavior.blahblah.on
[Something happens]
Actor 2
[Something happens]
Change something on this other actor
The reason I need to know is because the actor I am using is tied to another actor, and not a unit, so things like effect and behavior changes do not work.
I know in the actor tutorial I read there is a way to do this... but the author didn't go in depth.
As a work around, if I knew how to reference actors in the data table entry in triggers I guess I could make it a trigger change too. I just don't know the syntax to make those references and after looking online it seems to be something no one knows..? That would be from the "Actor: Actor from Data Table (Actor) line in the trigger editor.
There is a field called target under most actions which you can use to link to other actors. There are three ways you can to this, you can put your other actor in as the supporter and use the ::Supporter reference in that field, you can link to the actor directly using the ID string of the actor or you can use an alias which can be set in the Actor - Aliases field. if both actors are to experience the same action then use aliases eg. _Woah would work if both actors have this as one of their aliases.
Here is a map where I use aliases to synchronize some set scale actions between two actors.
Okay - So I would just put in the alias for both of the actors I need to change in the target field?
I am doing that now, and it is not working... do you just type in _Woah or do you need to do like ::Alias_Woah or something like that?
Edit: Actually, I placed all of the actors involved into one alias, and it looks like the event is ignoring the target field? It will change the color for the unit but it will not change the color of his attacks, all being in the same alias group.
I'm going to lay out exactly what is up so that I don't waste your time!
I have an archon, and he changes color when a behavior is added. That is fine - the archon actor just has the event
Behavior on
Tint color
However, the actors for his attack beam (lightning arcs) and his impact actor (the explosion) won't have their color changed by anything other than actor creation, or so it would seem. I think this is because these actors are not linked to the unit directly so they are not effected by the behavior.
So my issue is linking these actors up with the actor for the unit. I've tried to add the other actors to the alias but it doesn't seem to work. Your map was very helpful in telling me what to do, it just doesn't seem to work.
I tried putting in the ID... like when you go to modify the ID below the name of the actor - in the target field of the tint change ... doesn't work either.
For the impact you need to tint the GenericAttackImpactModel actor while for the beam you need to tint the Beam (Simple) type actor. You could always try using signals if nothing else works.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I looked at the events+ for the colossus tree burner, I have no idea how to do any of that :(
Perhaps I should be using something like actor references? I can't find a method to reference any other living actor in terms of a tutorial that isn't involved with triggers, but there has to be a way, since Blizzard did it with the Rainbow Archon's Portrait
No - I have not - I've been looking for any information on how to use those fields and havn't found any :(
Is it something like open Host Supporter+ and add the beam actor to the Subject field? How do you reference that later in the Events+ tab under say, set tint color? Put something like Supporter in the target field?
Cool, so, to set the supporting actor I go to Hosting - Host Supporter + on the Archon (unit actor) and add the Attack Beam in the Subject field? Do I need to do more than that in Hosting - Host Supporter +? Or do I go to Hosting - Host +?
Hi guys,
I need to know how to get actors to talk to each other in the data editor.
As in for example, in the events+ section:
Actor 1
Behavior.blahblah.on
[Something happens]
Actor 2
[Something happens]
Change something on this other actor
The reason I need to know is because the actor I am using is tied to another actor, and not a unit, so things like effect and behavior changes do not work.
I know in the actor tutorial I read there is a way to do this... but the author didn't go in depth.
As a work around, if I knew how to reference actors in the data table entry in triggers I guess I could make it a trigger change too. I just don't know the syntax to make those references and after looking online it seems to be something no one knows..? That would be from the "Actor: Actor from Data Table (Actor) line in the trigger editor.
Thank you
There is a field called target under most actions which you can use to link to other actors. There are three ways you can to this, you can put your other actor in as the supporter and use the ::Supporter reference in that field, you can link to the actor directly using the ID string of the actor or you can use an alias which can be set in the Actor - Aliases field. if both actors are to experience the same action then use aliases eg. _Woah would work if both actors have this as one of their aliases.
Here is a map where I use aliases to synchronize some set scale actions between two actors.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Thank you for your reply!
Okay - So I would just put in the alias for both of the actors I need to change in the target field?
I am doing that now, and it is not working... do you just type in _Woah or do you need to do like ::Alias_Woah or something like that?
Edit: Actually, I placed all of the actors involved into one alias, and it looks like the event is ignoring the target field? It will change the color for the unit but it will not change the color of his attacks, all being in the same alias group.
How is the alias set up and how is your action set up? Also _Woah should suffice. By attacks do you mean the impact model?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
I'm going to lay out exactly what is up so that I don't waste your time!
I have an archon, and he changes color when a behavior is added. That is fine - the archon actor just has the event
Behavior on Tint color
However, the actors for his attack beam (lightning arcs) and his impact actor (the explosion) won't have their color changed by anything other than actor creation, or so it would seem. I think this is because these actors are not linked to the unit directly so they are not effected by the behavior.
So my issue is linking these actors up with the actor for the unit. I've tried to add the other actors to the alias but it doesn't seem to work. Your map was very helpful in telling me what to do, it just doesn't seem to work.
I tried putting in the ID... like when you go to modify the ID below the name of the actor - in the target field of the tint change ... doesn't work either.
Thanks again for your help Dr
For the impact you need to tint the GenericAttackImpactModel actor while for the beam you need to tint the Beam (Simple) type actor. You could always try using signals if nothing else works.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
I think that in this case I'd need to use signals, besides, I think if I learned that I could do other awesome things! Is there a tutorial for that?
Best I can think of the is colossus tree burner.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
I looked at the events+ for the colossus tree burner, I have no idea how to do any of that :(
Perhaps I should be using something like actor references? I can't find a method to reference any other living actor in terms of a tutorial that isn't involved with triggers, but there has to be a way, since Blizzard did it with the Rainbow Archon's Portrait
Really? How do you know the rainbow archon used those?
Silly question, have you tried using the Supporter fields?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
No - I have not - I've been looking for any information on how to use those fields and havn't found any :(
Is it something like open Host Supporter+ and add the beam actor to the Subject field? How do you reference that later in the Events+ tab under say, set tint color? Put something like Supporter in the target field?
Use ::Supporter in the target field.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Cool, so, to set the supporting actor I go to Hosting - Host Supporter + on the Archon (unit actor) and add the Attack Beam in the Subject field? Do I need to do more than that in Hosting - Host Supporter +? Or do I go to Hosting - Host +?
Thanks again Sir
Hosting - Host Supporter - Subject and thow in the actor or actors via alias and then you can reference them in the target field with ::Supporter.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg