I want to have a unit with 4 actors attached to it. The actors should be created depending on the units around that host unit. It must check every side and corner: Top-Left, Left, Bottom-Left, Bottom, Bottom-Right, Right, Top-Right, and Top to determine the correct actor.
I'm having trouble with using explicit rotation on an attached actor. Whenever I add SO_ExplicitRotateTest (see image) to the attached actor's Host Site Operations, then it will no longer follow the host's actor animations. It will still remain attached to the point I specified but will be completely still in place.
How can I use explicit rotation and also allow the attached actor to follow the host's animations.
Thanks.
Is this possible in Starcraft 2 via custom script? I'm trying to load an external text file by using C but everything I type comes back as a syntax error.
0
I want to have a unit with 4 actors attached to it. The actors should be created depending on the units around that host unit. It must check every side and corner: Top-Left, Left, Bottom-Left, Bottom, Bottom-Right, Right, Top-Right, and Top to determine the correct actor.
pseudo code
Or if you compare the positions of each unit:
0
1. Is it possible to retrieve the unit's position in the event editor?
I thought it would be something like this:
UnitBirth.UNIT -> StatusSet Position (x,y,z)
2. Also, if that is possible. Is it possible to check if the unit is next to a different particular unit?
I.e. if the unit is next to a particular unit on the left side..
UnitBirth.UNIT -> Is next to Unit X, on the Left? Do...
3. Lastly, Is there a way to check a status variable of a actor through the trigger editor?
Thanks.
0
Hello.
I'm having trouble with using explicit rotation on an attached actor. Whenever I add SO_ExplicitRotateTest (see image) to the attached actor's Host Site Operations, then it will no longer follow the host's actor animations. It will still remain attached to the point I specified but will be completely still in place.
How can I use explicit rotation and also allow the attached actor to follow the host's animations. Thanks.
0
Is this possible in Starcraft 2 via custom script? I'm trying to load an external text file by using C but everything I type comes back as a syntax error.
Is there a way?