How to make dummy unit circle caster

LordSaddler1

New Member
Reaction score
4
Pretty self explanatory, How do you make a dummy unit circle the caster until you "sic" it on someone (like a wolf)? I think i know how to do the command to chase someone (channel or some targeted ability where the trigger makes the dummy follow).
 

FireBladesX

Eating my wings!
Reaction score
123
I haven't tried this link, but it should work more or less.

To get it to fire, you could, upon casting do Unit - order (spinner) to [Insert command here] (Target unit of ability being cast), and deactivate the spin...?

I don't know jass, so I can't really help you much with this system. Hope it sets you in the right direction. This spinning unit phenomenon is generally referred to as a whispwheel.

Maybe you can find a GUI version somewhere.
 

LordSaddler1

New Member
Reaction score
4
does this make a spinning unit or one that circles around a unit like
+++
+O+
+++ Where + is the summoned unit's path and O is the caster.
Cause i want the circling
 

Cloak_Master

Active Member
Reaction score
41
Lets see. You could try this

When the unit begins circling, you could order it to move to the position of the unit polar offset by "600" towards angle between the unit and the circled unit. Then, you could set the angle to a variable and create a for loop ordering it to move to the units position offset by 600 towards the variable + X.

Not sure how that'd work, though.
 

lindenkron

You can change this now in User CP
Reaction score
102
does this make a spinning unit or one that circles around a unit like
+++
+O+
+++ Where + is the summoned unit's path and O is the caster.
Cause i want the circling

So... what you want is:
Someone casts a spell.
A dog / Minion / Something is summoned at a specific distance from the caster
The dog / Minion / Something is running around in a circle around the caster?
Code:
   ++<++
 +       +
+         +
V    ?    A
+         +
 +       +
   ++>++
Right?
 

simonake

New Member
Reaction score
72
Code:
Events:
Unit -A unit start the effect of an ability

Conditions:
(Ability being cast) Equal to <....>

Actions:
For each (Integer A)from 1 to 6 do (Actions)
Unit -Create 1 <dummy> for (owner of (casting unit)) at ((Position of (Casting unit)) offset by 300.00 towards (60.00 x(Real((Integer A))) degrees)facing(Facing 
 of (Casting unit)) degress

Hope it was helpful if you want more unit around your guy change the number of integers. Nvm missunderstood question, i tought you wanted to create units around a unit.
 

Wynd

New Member
Reaction score
1
If I understand what you're asking, I don't think this is quite possible in the way you want it to happen. The problem comes in the fact that you cannot tie the created unit's movement in with your own. At best, you could run a loop that continually checked your position and redirected the summoned unit even when you moved, but I'm guessing that'd eat up a lot of memory with fast checking, and with slow checking the unit's movement would look erratic. Even checking continually, you'd need the unit to have incredible speed to keep ahead of the caster when he moved.

You could try something like this:
Trigger:
  • Trigger
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set rAngle = (rAngle + 36.00)
      • If (rAngle Greater than or equal to 360.00) then do (Set rAngle = 0.00) else do (Do nothing)
      • Unit Group - Order (uSummonedUnit) to Move To ((Position of (uCastingUnit)) offset by 500.00 towards rAngle degrees)


You'd have to play with the unit speed and periodic timer a bit. You'll still have an issue where the unit needs to move faster if your unit is moving. If you make it fast enough to compensate, it'll stall between points of the "circle" while waiting for the next command telling it to move again. There are a couple ways you could get around that, but the only ones I can come up with are way complex and probably not worth doing for the small cosmetic effect they'd be worth.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top