Dummy Unit Won't Slide?

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
Can anyone tell me why this trigger won't make my unit slide?

Trigger:
  • Slide
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • Set tempGroup = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Shockwave))
      • Unit Group - Pick every unit in tempGroup and do (Actions)
        • Loop - Actions
          • Game - Display to (All players) the text: lol
          • Set Temp_Point = (Position of (Picked unit))
          • Unit - Move (Picked unit) instantly to (Temp_Point offset by 13.00 towards (Facing of (Picked unit)) degrees)
          • Custom script: call RemoveLocation(udg_Temp_Point)
      • Custom script: call DestroyGroup(udg_tempGroup)


Not even the text will show.
 

lindenkron

You can change this now in User CP
Reaction score
102
Trigger:
  • Events
    • Unit - A unit Is issued an order targeting a point


My best suggestion. Instead of every 0.03 sec, if what the #2 poster said was true, that it happens instantly, and not "every 0.03" sec.

If I haven't misunderstood you compeltely that is :)
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
What this does is move the unit forward in a 'slide' every 0.03 seconds of gametime. However, what it's not doing is moving the unit. It just stays still.

EDIT: It displays the text after I have another set of dummy units cast the shockwave spell.
 

darkbeer

Beer is Good!
Reaction score
84
if even the text is not shown it means the group is empty. check for it.

and you still leak a location.
 

FireMaster

New Member
Reaction score
0
Trigger:
  • Set tempGroup = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Shockwave))


isn't better that way?
Trigger:
  • Unit Group - Pick every unit in (Units of type Shockwave) and do (Unit Group - Add (Picked unit) to tempGroup)
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
The slide works fine for other units (I just tested), but not my dummy.

I found out two of my dummy units have the same Raw ID. How do I change it?
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
> the group is empty

Which could also mean that the units are unpickable. They have Locust, I presume.

Ermm... For some reason the text displays when this trigger runs.

Trigger:
  • Split
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Split
    • Actions
      • Set Temp_Point = (Position of (Triggering unit))
      • Set real = 0.00
      • For each (Integer A) from 1 to 10, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at Temp_Point facing Default building facing degrees
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
          • Unit - Add Shockwave to (Last created unit)
          • Set splitPoint = (Temp_Point offset by 100.00 towards real degrees)
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave splitPoint
          • Set real = (real + (360.00 / 10.00))
          • Custom script: call RemoveLocation(udg_splitPoint)


Anyone know why?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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