• 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!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

I got my all triggers blocked and error

Level 1
Joined
May 2, 2025
Messages
2
Hi everyone, I was creating a custom MOBA game like DOTA. But I got my whole triggers blocked, and when I run the game, it gives an error with no text, and the only button I see is "OK." Well, it turns out there are so many errors in my triggers.
1750146974581.png
Screenshot 2025-06-17 134616.png
It happened when I copied a single trigger, which was a "START GAME HORN SOUND" from DoTA Template v2.0 AI,
1750147043580-png.537848

which ruined my map with lots of errors. By the way, I am using Warcraft 3 v 1.29.2 World Editor; there is no JASS.
 

Attachments

  • Screenshot 2025-06-17 134554.png
    Screenshot 2025-06-17 134554.png
    60.8 KB · Views: 6
  • 1750147043580.png
    1750147043580.png
    51.3 KB · Views: 19
  • INFAL ALPHA V0.2.w3x
    25.9 MB · Views: 1
Level 14
Joined
Jan 10, 2023
Messages
267
Did the timer global variable exist before you copied the trigger?

It looks like the editor tried to create the variable for you and created a string instead.

The reason why you're still getting errors with triggers turned off is because the variables are still being initialized, even if the triggers are off.

But that first line of your debug prompt is saying the have a variable type called "VarAsString_Real". Honestly, I don't know how that happens, but I would open that variable in the variable managing window and set it to be a timer.


To import that trigger and maybe not nuke the rest of your triggers, I would reload an older version, or undo, then create the variable for the trigger, then copy over the trigger after the variable exists already.
 
Level 1
Joined
May 2, 2025
Messages
2
Well, it was too late to undo it. I had a backup; however, it was also infected by this error, and I don't know how to fix that. Should I turn off auto variable creator? Anyways ,How can I fix it?
 
Level 14
Joined
Jan 10, 2023
Messages
267
I'm not super experienced with GUI, stuff like this exact issue is what made me switch to JASS, but I would think you can leave the auto variable creator on.

I'm struggling to see the root cause here, only seeing the error debug clear has a non-native variable type "VarAsString_real"..

Sadly, I think there is no way to undo this now other than grinding through the triggers and making them valid again..
 
Top