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.
[08:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Roy