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

[JASS] Difference between similar calls

Status
Not open for further replies.
Level 1
Joined
Sep 13, 2004
Messages
1
I swear at one point in time I used to know the difference between the similar system calls, but for the life of me I can't remember. So what is the difference between call xyz, and xyzBJ?

Additionally, is there other documentation that tells in more detail what the function calls do? I know of jass.sourceforge.net, but I am looking for something a little more descriptive.

TIA,
indros
 
Level 3
Joined
Mar 27, 2004
Messages
70
The difference between xyz and xyzBJ is that the xyzBJ version is declared in blizzard.j and xyz is a native. The BJ versions are the ones used by the GUI and does things like setting the last created unit variable and stuff. Using the natives is usually better than the BJ versions, but it's not a crucial difference.
Btw, not all functions from blizzard.j has BJ as extension.
 
Level 2
Joined
Oct 5, 2004
Messages
12
I know this is a relatively old thread, but it's still on the first page, so:

jass.sourceforge.net also has a complete list of all functions, http://jass.sourceforge.net/doc/api/Blizzard_j-functions.shtml for example. Although it doesn't seem to be linked to from the main page... >.>

Look up a function in blizzard.j and compare it with the native function calls from common.j; sometimes, the developers have even left helpful comments on why there is a difference ^ ^
 
Status
Not open for further replies.
Top