• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Why Unit don't move? =O

Status
Not open for further replies.
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

I have a problem - look:
  • Feuerschwarm
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set TempPoint3 = (Position of FeuertaufeCaster)
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Set TempArray[(Integer A)] = (TempPoint3 offset by 750.00 towards (30.00 x (Real((Integer A)))) degrees)
          • Unit - Create 1 Dummy Schwarm for (Owner of FeuerkugelUnit) at TempArray[(Integer A)] facing (Position of FeuerkugelUnit)
          • Custom script: call RemoveLocation(udg_TempArray[GetForLoopIndexA()])
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within 1000.00 of (Position of FeuertaufeCaster) matching ((Unit-type of (Picked unit)) Equal to Dummy Schwarm)) and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Move To (Position of FeuertaufeCaster)
But the picked unit isn't walking to the FeuertaufeCaster and I don't know the bloody reason =O - are I'm blind or stupid - whats wrong? =O
1) FeuertaufeCaster = The casting Unit
2) FeuerkugelUnit = A created Unit - same color and use like the Casting Unit
3) To the created unit: I add movement speed to 350 - fly - flyhigh: 350/350. I try it with locust/invulnerable and without locust/invulnerable - no effect
4) The units are created every second, but the don't move -_-
 
Level 16
Joined
Oct 12, 2008
Messages
1,570
oh, if you didn't already know the "every 1 sec of game time" will cause lag

Of course!! You are SOO right!
That is why ALL spells use every 0.03 seconds and NOT lag!

Dude, it does not lag unless you do some Major stuff, which should really be MAJOR. And this does not, it in fact is soo small you will not even notice anything..
 
Level 15
Joined
Mar 31, 2009
Messages
1,574
Of course!! You are SOO right!
That is why ALL spells use every 0.03 seconds and NOT lag!

Dude, it does not lag unless you do some Major stuff, which should really be MAJOR. And this does not, it in fact is soo small you will not even notice anything..

my bad, i confused with every .01 sec, which does lag a bitch, i don't do triggers much, i just knew my brother's map lagged a lot with something related.
 
Status
Not open for further replies.
Top