• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

A strange error in Lua script

KW~

KW~

Level 2
Joined
Feb 7, 2020
Messages
17
Add a line with a meaningless comment in the code, and the program crashes after running the check.
JASS:
--length % scale
Does anyone know why?
 

KW~

KW~

Level 2
Joined
Feb 7, 2020
Messages
17
It seems that % is disrupting the script's formatting. What could be the reason?
 

KW~

KW~

Level 2
Joined
Feb 7, 2020
Messages
17
Show me the modified line please, with a screenshot.
ec4ae25b-cfec-4a4c-a2c6-924fa4bebf62.png

9ea1f89e-908a-4639-94c6-62934668baaf.png

Create a new map, run the test, and then WE crash.
 
Top