- Joined
- Sep 13, 2014
- Messages
- 106
BJDebugMessage seems to break the AI.
Where do these functions write to?
Also, are there any AIs (JASS or GUI) that people have built that I can look at and compare my AIs to? Does anyone do AI stuff?
Also, to edit my JASS AIs, do I just use notepad, or is there something better I can do?
And is it possible to compile AI code to catch errors?
Where do these functions write to?
Code:
native DebugS takes string str returns nothing
native DebugFI takes string str, integer val returns nothing
native DebugUnitID takes string str, integer val returns nothing
native DisplayText takes integer p, string str returns nothing
native DisplayTextI takes integer p, string str, integer val returns nothing
native DisplayTextII takes integer p, string str, integer v1, integer v2 returns nothing
native DisplayTextIII takes integer p, string str, integer v1, integer v2, integer v3 returns nothing
native DoAiScriptDebug takes nothing returns boolean
debug call Trace("SleepInCombat\n") // (effectively calling DisplayText, but with a debug in the front for some reason)
Also, are there any AIs (JASS or GUI) that people have built that I can look at and compare my AIs to? Does anyone do AI stuff?
Also, to edit my JASS AIs, do I just use notepad, or is there something better I can do?
And is it possible to compile AI code to catch errors?
Last edited: