Ok. I've a lot kind of units - Zealots, Marines.. etc... f.e 100500 specific units. And I've 1 behavior which must recolor and change size of the owner. So, It means I must add pack of behavior events to each kind of unit. But it hell work Oo... Is there any easy way?
Rollback Post to RevisionRollBack
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Created actor with type Model and base CActorModel with invisible model. Added events, added ::Main:Target:Implicit::0 in the host field... not works. Need map example if somebody can.
Oh found Target field... ::Main or _Selectable dont gives positive results
Ok. I've a lot kind of units - Zealots, Marines.. etc... f.e 100500 specific units. And I've 1 behavior which must recolor and change size of the owner. So, It means I must add pack of behavior events to each kind of unit. But it hell work Oo... Is there any easy way?
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Just make an Event Macro actor with your events and shove it into the Event - Macros field of every actor you want affected by those events.
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
Or you use the Target field for your actor events.
Create an actor with an invisible model and the following events:
Then set the Target field for the Set Scale messages (the topmost field, by default its empty) to ::Main or _Selectable.
2Kueken531
Ok... but what type of actor I must create... just CActorModel or no?
Hard to find... can u add some image with this info?
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
As he stated use a Model type actor.
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
Created actor with type Model and base CActorModel with invisible model. Added events, added ::Main:Target:Implicit::0 in the host field... not works. Need map example if somebody can.
Oh found Target field... ::Main or _Selectable dont gives positive results
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
OK! Thx guys... it works now)
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!