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

Lua code dont work.

Status
Not open for further replies.
That's .. a lot of lines to digest in one file.

Which part of the script doesn't work? When does the script not work?
These details can help immensely with the debugging of the script. That being said, I'll list both
the things that look okay, and the things that do not look okay (at first glance):

  • PlayUnitAnimationFromChat - Probably debugged already

Functions:
  • InitWASD - A lot of if-then conditions. Seems fishy at first glance.
  • SetUnitPositionSmooth - I've only seen it being called, but not declared.
  • CreateForUnitWayToPoint - I assume that it generates an order which bypasses the mouse override from BlockMouse.
  • InitHeroTable - Not too sure why the index for HERO is 0 when it takes what is supposedly a hero unit as a parameter.
Closures:
  • TimerStart closure - Located in dash function
 
Status
Not open for further replies.
Top