• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Fixing Delay system?

Status
Not open for further replies.
Level 3
Joined
Jul 8, 2009
Messages
40
View attachment DelaySystemTest.wtg import this to your trigger editor....
i am try to fixing the delay with using the trigger it that work?or maybe some bug in my trigger?how to fix this trigger? coz fixing delay is using in multiplayer in the garena....i am using the oder of RIGHTCLICK to fix the delay coz this function order fast he MOVETO...
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
What are you using the delay for? To fix what? What are your triggers supposed to do?


  • Set
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • Set U[I] = (Target unit of issued order)
  • Intilization
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • Set I = (I + 1)
      • Wait until (I Equal to 12), checking every R seconds
      • Set I = 0
  • Target
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
    • Actions
      • Set P[I] = (Target point of issued order)
      • Unit - Order U[I] to Right-Click P[I]
      • Custom script: call RemoveLocation(udg_P[udg_I])


The first trigger returns null since there's no event that can set Target unit of issued order.

The second trigger bugs because of the wait.
 
Level 3
Joined
Jul 8, 2009
Messages
40
to do fixing move delay...any way when multiplayer host lag will cuase all player delay when moving
 
Status
Not open for further replies.
Top