Hi again guys, another thing I need help with, I wan to know if there's a way to make a unit not react to attacks with moving around and getting all spastic. To clarify one of my models is turning around and doing some animations rapidly and such when attacked, I want this to stop, I want the unit to not move in any way if the only cause is being attacked.
Thanks in advance!
I see know that I've explained things poorly, and it might've been stupid of me to post this in triggers :S. I did what you suggestsed but that didn't seem to help, what I mean with "unit reacting to attacks" is basically that it turn around left to right and right to left, (it's a marauder with goliath model and stuff, don't ask me why, shit got complicated) simply turning around as if it was trying to flee or couldn't decide which target to attack. I know this must be fixable since on the main unit -who is a marine- no such reactions happen when being hit.
Thanks for the reply
Open up the unit's actor (in the actors tab, it should have the same name as the unit). Open "events+" and look for anything that says "damage response". If you find anything like that, delete it. Those cause your unit to do something actor-related when it takes damage. In this case, it probably plays a "take damage" animation of some kind.
Also, I moved this to the data forum.
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
Open up the unit's actor (in the actors tab, it should have the same name as the unit). Open "events+" and look for anything that says "damage response". If you find anything like that, delete it. Those cause your unit to do something actor-related when it takes damage. In this case, it probably plays a "take damage" animation of some kind.
Also, I moved this to the data forum.
I think the event is called "Unit Damaged" (because actor events are great and consistent with everything else in the editor. Hooray!).
Open up the unit's actor (in the actors tab, it should have the same name as the unit). Open "events+" and look for anything that says "damage response". If you find anything like that, delete it. Those cause your unit to do something actor-related when it takes damage. In this case, it probably plays a "take damage" animation of some kind.
Also, I moved this to the data forum.
I really couldn't seem to find any damage response similar event anywhere, it's the marauder actor I'm modifying. Thanks for moving the thread though :)
I really couldn't seem to find any damage response similar event anywhere, it's the marauder actor I'm modifying. Thanks for moving the thread though :)
Could you upload some pictures with all the events and the actor data fields? Are there any customized events in the actor?
Because everything a unit does visually is saved in the actors, so the reasons for the untypical movements etc. have to be in there somewhere.
There is no unit model that reacts to damage anywhere in sc2, only the hardened shield behavior creates a model when it activates. Anyway it's most likely the Goliath turret spazzing out, and even if it's not the best solution is still to start a new unit.
I tried changing the unit to different types of models to see if that's the prob, but I'm starting to believe that it has something to do with the unit "fleeing" when being hit, when I exit the unit (which is supposed to be a vehicle" it automatically tries to escape when being hit by enemies. Perhaps it tries that aswell when it holds cargo and has gotten the controls and cameras and everything applied to it? It could be that it tries to flee but it doesn't because the controls stop it from doing that but still you see the unit going all spastic from the movements?
Hi again guys, another thing I need help with, I wan to know if there's a way to make a unit not react to attacks with moving around and getting all spastic. To clarify one of my models is turning around and doing some animations rapidly and such when attacked, I want this to stop, I want the unit to not move in any way if the only cause is being attacked. Thanks in advance!
If your "model" is actually a "unit", then you can try to set the unit's "default acquire level" to "none".
I see know that I've explained things poorly, and it might've been stupid of me to post this in triggers :S. I did what you suggestsed but that didn't seem to help, what I mean with "unit reacting to attacks" is basically that it turn around left to right and right to left, (it's a marauder with goliath model and stuff, don't ask me why, shit got complicated) simply turning around as if it was trying to flee or couldn't decide which target to attack. I know this must be fixable since on the main unit -who is a marine- no such reactions happen when being hit. Thanks for the reply
Open up the unit's actor (in the actors tab, it should have the same name as the unit). Open "events+" and look for anything that says "damage response". If you find anything like that, delete it. Those cause your unit to do something actor-related when it takes damage. In this case, it probably plays a "take damage" animation of some kind.
Also, I moved this to the data forum.
I think the event is called "Unit Damaged" (because actor events are great and consistent with everything else in the editor. Hooray!).
I really couldn't seem to find any damage response similar event anywhere, it's the marauder actor I'm modifying. Thanks for moving the thread though :)
Could you upload some pictures with all the events and the actor data fields? Are there any customized events in the actor?
Because everything a unit does visually is saved in the actors, so the reasons for the untypical movements etc. have to be in there somewhere.
There is no unit model that reacts to damage anywhere in sc2, only the hardened shield behavior creates a model when it activates. Anyway it's most likely the Goliath turret spazzing out, and even if it's not the best solution is still to start a new unit.
I tried changing the unit to different types of models to see if that's the prob, but I'm starting to believe that it has something to do with the unit "fleeing" when being hit, when I exit the unit (which is supposed to be a vehicle" it automatically tries to escape when being hit by enemies. Perhaps it tries that aswell when it holds cargo and has gotten the controls and cameras and everything applied to it? It could be that it tries to flee but it doesn't because the controls stop it from doing that but still you see the unit going all spastic from the movements?
bump