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

[General] Where is API docs for Lua?

Status
Not open for further replies.
Level 3
Joined
Oct 13, 2012
Messages
28
Hi,

Anyone knows where is documentation for WC3 for Lua API?

It's so weird from Blizzard to announce it, but do not send any link on docs. Probably, many functions have same name, but come on. World Editor doesn't even contain autocomplete feature.
 
Level 3
Joined
Aug 6, 2019
Messages
74
Blizzard is JASS API using Lua syntax.
For example:
JASS:
:call BJDebugMsg("jass")
[Lua]:BJDebugMsg("Lua")
but,you can use "print("Lua")"
tips:"inpair" has a bug!
 
Level 3
Joined
Oct 13, 2012
Messages
28
You got it all wrong, you use WC3 API (common.j and blizzard.j) in Lua.
It's because I didn't notice that they are very similar.
But in general, when someone offers another language, it is considered as new API, because languages may have its own nuances (having exceptions or not, procedural API vs OOP API, etc.). So you got me wrong too, buddy.
 
Status
Not open for further replies.
Top