Carry a unit with another?

I would like to carry an unit when he got <= 35 health. here an image of the script that i got right now.

1 Like

you’re using “(owner unit of (get sensor of (last ability casting unit)))”, when just using “last ability casting unit” would work the same, and it’d be less laggy and less prone to errors.

Can you send a screenshot of the full text of the camera tracking action. Kinda like this below:

1 Like

1 Like

what’s the “get sensor of…” for?

Also, “last ability casting unit” is used for keybindings. If this script has no trigger, then “triggering unit” won’t work

1 Like

If the unit is near its supposed to get carried when space is pressed, also ik. Im removing triggers right now.

1 Like