• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Cannot use some functions from blizzard.j file

Status
Not open for further replies.
Level 2
Joined
Feb 9, 2021
Messages
6
I'm writing an AI Jass script that includes some functions in blizzard.j like BJDebugMsg, but when I put the script in my map it doesn't work because of these functions.
Whenever I check for errors with the Jass checker, it says the function is undefined and I really don't know why. I looked for answers on Hive but didn't find any.
Either I didn't search well or I don't see something that is obvious. I use the latest version of the game.
I would be very grateful if you could help me.
 
I don't seem to be able to use any function from the file. I tried some other functions but it still doesn't work. I also forgot to mention that this doesn't prevent me from doing what I want because when I use the GUI I can use all these functions thanks to the Custom Script action. But I really wanted to make complete Jass scripts outside the editor and then import them.
 
Could the reason be that AI scripts only include common.ai functions ? To be honest I know almost nothing about how all of this works.
 
Ok, I see. Then I just need to copy the non available functions and constants and put them in the AI script, while hoping the natives used in those functions are available. Thank you all for answering.
 
Status
Not open for further replies.
Back
Top