I have a missile turret-based missile. It has a behavior attached that searches for valid targets in a small area, for it to collide with.
The missile stills otherwise acts like a missile turret. It is launched at a targeted unit, but it will collide with the first unit it hits and explode, killing itself.
However, the impact animation is not working correctly.
On impacting it's normal target, it works fine, but if it hits another unit, it fails to explode, no shield flair, etc.
I tried to copy in the data from a spider mine's explosion, which worked, but it resulted in me getting continuous error messages, even if it did work.
This, admittedly, is probably possible to ignore, but I would like to figure out what I should actually do in this situation.
Also, I am somewhat concerned that this setup, on colliding with the intended target, might create multiple impact animations, which would be wasteful of resources.
Generally, I don't know how the Actor Editor works, and mostly end up trying to copy what already exists.
00:00:15.19 USER: [ 43c 2] CActorAction[BasicMissileAttack] Data configuration error; ActionImpact message arrived before [ 43c 2] CActorAction[BasicMissileAttack] commenced.
Edit:
Actually, as it turns out, aside from the possibility of the target being dead when the missile arrives (which retargeting hopefully will resolve) or no targets existing (which should be impossible anyway) it should only ever detonate when the behavior's search effect goes off.
Might have a solution there, seperate actor...
Edit2: Yep, that fixed it. Solved.
I have a missile turret-based missile. It has a behavior attached that searches for valid targets in a small area, for it to collide with. The missile stills otherwise acts like a missile turret. It is launched at a targeted unit, but it will collide with the first unit it hits and explode, killing itself.
However, the impact animation is not working correctly. On impacting it's normal target, it works fine, but if it hits another unit, it fails to explode, no shield flair, etc.
I tried to copy in the data from a spider mine's explosion, which worked, but it resulted in me getting continuous error messages, even if it did work. This, admittedly, is probably possible to ignore, but I would like to figure out what I should actually do in this situation.
Also, I am somewhat concerned that this setup, on colliding with the intended target, might create multiple impact animations, which would be wasteful of resources.
Generally, I don't know how the Actor Editor works, and mostly end up trying to copy what already exists.
00:00:15.19 USER: [ 43c 2] CActorAction[BasicMissileAttack] Data configuration error; ActionImpact message arrived before [ 43c 2] CActorAction[BasicMissileAttack] commenced.
Edit: Actually, as it turns out, aside from the possibility of the target being dead when the missile arrives (which retargeting hopefully will resolve) or no targets existing (which should be impossible anyway) it should only ever detonate when the behavior's search effect goes off. Might have a solution there, seperate actor... Edit2: Yep, that fixed it. Solved.
Could also be missile mover timeout.
That error means 2x Create event actions happened at once.
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