- How to use the function SetUnitAnimationByIndex.
- Rename an animation avoid to play it automatically (when the unit walk, attack, and so on).
- Unselectable can't be used in an animation.
- Set the bound radius to 0.0 make the unit unselectable when the animation is playing but still selectable with a drag selection.
- We can deactivate the drag selection for all players and maybe for one player without a desynchronisation, but anyway i don't want that.
- We can play an animation for one player and not for the other with the function GetLocalPlayer.

My goal is to make an unit selectable only for the owner and unselectable for the other players, when i want.
But the unit must still be a possible target with a trigger action or an ability/attack with area effects/damage.

So the only way is to edit the model and triggering the animations.
The triggers are not a problem, but i don't have the knowledge to edit the model.

I've heard that it is possible with the geometry of the model.

I don't care about the final size of the model, i know it will be high.
Could you make me an example for a simple model and the animation walk ?

Plz don't talk me about the 'Aloc' ability or selection actions ...

__________________

Cool != Useful

Last edited by Troll-Brain : 07-15-2008 at 06:58 PM.
Reason: an error on the title