This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I have a UnitActor that Ive attached a rotating ModelActor to.
I want the ModelActor to stop rotating while the unit has a stun behavior applied.
Attachment process:
In the UnitActor's Events:
ActorCreation=>
Create ModelActor
In the ModelActor's Host Site Operations:
Spinner (SOpRotator)
In the ModelActor's Event's:
Behavior.Stunned.Created=>
HostSiteOpsRemove - UnitActor, Spinner (SOpRotator), Tail Immediate
During testing it throws a warning and does not stop rotating:
(ModelActor) Cannot remove site ops on Host UnitActor.
How should I go about this?
Figured it out. Well, technically a work around.
I couldn't get HostSiteOpsRemove or HostSiteOpsAdd to work, but this fulfills my goal:
UnitActor Events:
UnitBirth=>
Create MiddleManActor
MiddleManActor Events:
Attach ModelActor SOpOffset, SOpRotator
Behavior.Off=>
SetRotationFrom ModelActor
Attach ModelActor SOpOffset
Behavior.On=>
All I can find is the Host Site Operations Set action. An Attach action could also have worked.
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
Quote from erdrik >> Figured it out. Well, technically a work around. I couldn't get HostSiteOpsRemove or HostSiteOpsAdd to work, but this fulfills my goal: UnitActor Events: UnitBirth=> Create MiddleManActor MiddleManActor Events: ActorCreation=> Create ModelActor Attach ModelActor SOpOffset, SOpRotator Behavior.Off=> SetRotationFrom ModelActor Behavior.Off=> Attach ModelActor SOpOffset Behavior.On=> Attach ModelActor SOpOffset, SOpRotator
I have a UnitActor that Ive attached a rotating ModelActor to.
I want the ModelActor to stop rotating while the unit has a stun behavior applied.
Attachment process:
In the UnitActor's Events:
ActorCreation=>
Create ModelActor
In the ModelActor's Host Site Operations:
Spinner (SOpRotator)
In the ModelActor's Event's:
Behavior.Stunned.Created=>
HostSiteOpsRemove - UnitActor, Spinner (SOpRotator), Tail Immediate
During testing it throws a warning and does not stop rotating:
(ModelActor) Cannot remove site ops on Host UnitActor.
How should I go about this?
Figured it out. Well, technically a work around.
I couldn't get HostSiteOpsRemove or HostSiteOpsAdd to work, but this fulfills my goal:
UnitActor Events:
UnitBirth=>
Create MiddleManActor
MiddleManActor Events:
ActorCreation=>
Create ModelActor
Attach ModelActor SOpOffset, SOpRotator
Behavior.Off=>
SetRotationFrom ModelActor
Behavior.Off=>
Attach ModelActor SOpOffset
Behavior.On=>
Attach ModelActor SOpOffset, SOpRotator
All I can find is the Host Site Operations Set action. An Attach action could also have worked.
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