• 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.

[Trigger] Creep move to region - Laggy

Status
Not open for further replies.
  • Action
  • Crate 1 enemy type[Index] for player 12 (Brown) at (Center of enemystart1 <gen>)
  • Unit - Order (Last created unit) to Right Click at CenterEND
What is wrong with that action?
The units have no collision size and are just going to move to a region.

But they are lagging their way to their CenterEND

Its a TD Im talking about.

NOTE: In Mafa TD the units move in group without stop a single time flawless, I want that
 
Level 5
Joined
Dec 18, 2007
Messages
205
i know that problem, but i dont really know how to solve it.
at least u should remove the location leak for every creep:

(jass)

  • Unbezeichneter Auslöser 007
    • Events
    • Conditions
    • Actions
      • Custom script: local location create_loc=GetRectCenter(gg_rct_enemystart1)
      • Custom script: local location move_loc=GetRectCenter(gg_rct_FINISHRECT_NAME)
      • Custom script: call CreateUnitAtLoc(11,udg_VARIABLE_NAME[ARRAY],create_loc,270.)
      • Custom script: call IssuePointOrderLoc(GetLastCreatedUnit(),"smart",move_loc)
 
Im not that good in Jass, and have no plans to be either, dont have much time and therefor I just create simple maps for friends to our LAN weeks to mess around with..

So those scripts for me is the formula of how the universe works =)
And btw, they didnt work, copy pasta = "Critical error"

And dont worry, I use variables to make it dont leak

Oh well, back to the main problem:
Laggy units towards their goal-region
 
Last edited:
why order it to rightclick? order it to attack/move, thats better

so u create a unit? think u made some spelling mistakes by freetyping it, or?

so itt is supposed to be Unit - Create 1 enemy type[Index] (whatever that is] at center of enemystar1<gen>
Unit- Order Last created unit to attack/move to urpoint

??????

Been there, done that:
Right click
Attack-move
Move
Right click

But yes;
Unit - Create 1 enemy type[Index] at center of enemystar1<gen>
Unit- Order Last created unit to move to mypoint

Still laggy..
 
Status
Not open for further replies.
Top