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.
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[10:05 am]
Moose -- ya
[05:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: moiseslhines