Staredit Network > Forums > SC2 Assistance > Topic: Need condition "Unit has actor attached"
Need condition "Unit has actor attached"
May 25 2010, 1:42 pm
By: Devourer  

May 25 2010, 1:42 pm Devourer Post #1

Hello

Is there any condition saying something like "Unit has attached actor"?
E.g. a unit can only have 1 actor at the same time so I do only want to run the trigger when the unit doesn't have an actor attached, I know it can be done via a unit group named like "units got attached units" but that's a bit annoying as I would have to make many triggers as I'm having like 5-10 different attach-able units.



Please report errors in the Staredit.Network forum.

May 25 2010, 1:57 pm 13Stallion Post #2



Actor -> Actor from unit: "Returns the actor for the specified unit. This will return the primary actor that is responsible for governing the behavior of a specific unit, chosen through the Unit parameter."



None.

May 25 2010, 1:59 pm Devourer Post #3

Hello

Quote from 13Stallion
Actor -> Actor from unit: "Returns the actor for the specified unit. This will return the primary actor that is responsible for governing the behavior of a specific unit, chosen through the Unit parameter."
... I wanted to find out the attached actor, not the primary one.



Please report errors in the Staredit.Network forum.

May 25 2010, 2:15 pm 13Stallion Post #4



Quote from Devourer
Is there any condition saying something like "Unit has attached actor"?
E.g. a unit can only have 1 actor at the same time so I do only want to run the trigger when the unit doesn't have an actor attached, I know it can be done via a unit group named like "units got attached units" but that's a bit annoying as I would have to make many triggers as I'm having like 5-10 different attach-able units.

Then why not use this method? Add all the "attachable" units to 1 unit group so you can manipulate them easily.



None.

May 25 2010, 7:03 pm Devourer Post #5

Hello

.... someone else?



Please report errors in the Staredit.Network forum.

May 26 2010, 1:16 am ZeroAme Post #6



Not that I know of but assuming your attaching them via triggers you could use the same trigger to set a variable saying that its attached.



None.

May 26 2010, 1:55 am Centreri Post #7

Relatively ancient and inactive

Again, do it with dummy abilities or behaviors instead if you don't get people with smart ideas.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:28 am]
Ultraviolet -- sounds like Bound & Defend
[07:43 pm]
Symmetry -- If you take the reins you damn well be ready to ride
[2026-5-23. : 2:46 pm]
NudeRaider -- you wish
[2026-5-23. : 12:43 am]
IskatuMesk -- Ah, so Reindeer Breeding 3: BDSM edition.
[2026-5-22. : 12:45 am]
Moose -- tbh
[2026-5-20. : 8:27 pm]
Symmetry -- It's a bound map where you cross obstacles to earn units to defend your base
[2026-5-20. : 8:16 pm]
Symmetry -- No, the world isn't ready for that
[2026-5-20. : 5:11 pm]
Zoan -- Reindeer Breeding 3?
[2026-5-19. : 7:20 pm]
Symmetry -- I've started *another* map too. Feeling nostalgic.
[2026-5-19. : 7:17 pm]
Symmetry -- But people need constant access to my creations!
Please log in to shout.


Members Online: Dem0n, O)FaRTy1billion[MM], Sie_Sayoka