• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Lua] Displays message but won't run rest of the script?

Status
Not open for further replies.
Things to note: Don't do stuff like InitHashtable on lua root (the engulfment with "do end", not being called inside a function). Most natives don't work on lua root and you risk of wasting time figuring out why you are kicked out to main menu when testing your map (FourCC is fine);
Debug Utils is insanely useful to track bugs and errors that ocurr at run time. [Lua] - Debug Utils (Ingame Console etc.)
Also, I would like to present you Eikonium's insane guide to lua, it might be helpful in certain aspects you're still not aware of.


1664810415823.png

1664810493624.png

This is what it appears to be the problem. I imported Debug Utils to the map by the way.
 

Attachments

Last edited:
You can also try to use this method.
The desperate method should definetely work (whatever it means :D).
 
Status
Not open for further replies.
Back
Top