• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] GUI-AI Interfacing

Status
Not open for further replies.
Level 12
Joined
Feb 5, 2008
Messages
228
Hey, everyone! I have a pretty simple problem that probably has a pretty simple solution, but my knowledge of JASS is exceedingly limited and I haven't been able to find any information online to help me figure it out. I am currently working on an AI for a map in my campaign that is supposed to determine which player to attack by referencing a GUI-generated player variable called StrikeTarget, which changes over time. So far, I have been unable to make the AI properly retrieve this variable and the AI simply fails to send attack waves; it does, however, continue to function properly in every other way. If anyone can explain to me the best way - or just a working way - to make the AI retrieve that variable properly so I can finish my AI, that would be fantastic. Thank you in advance for your time!
 
Status
Not open for further replies.
Top