I need to change actors size if he have certain behavior but i dont want to add events to every unit's actor, instead is it possible to do model-less actor which will do something like Behav.On "At target" Set scale?
Set the Target - Field for your Set Scale message (the topmost field) to ::Main or _Selectable
Make sure, you do it like this:
Behavior.().On
Create
Actor Creation
Set Scale (for this, set the target field)
Behavior.().Off
Destroy
Actor Destruction
Set Scale (for this one as well)
Also, the Host of your actor should be set to _Selectable
You can use a model-less actor by setting the type to Actor Base for example. I usually still use a Model type, though, and set the model to Invisible, in case i want to add a model later on.
HI
I need to change actors size if he have certain behavior but i dont want to add events to every unit's actor, instead is it possible to do model-less actor which will do something like Behav.On "At target" Set scale?
Use aliases. You could use Event Macro actors as well
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
Could you explain a little more, problem is i don't even know term to use
Set the Target - Field for your Set Scale message (the topmost field) to ::Main or _Selectable
Make sure, you do it like this:
Also, the Host of your actor should be set to _Selectable
You can use a model-less actor by setting the type to Actor Base for example. I usually still use a Model type, though, and set the model to Invisible, in case i want to add a model later on.
Cool thanks :) saves a lot of work