• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[AI] What does this code mean? what do these functions do?

Status
Not open for further replies.
Level 16
Joined
May 2, 2011
Messages
1,345
Hello,

what does call cheats exactly do? I havent seen any reference for it in Common.ai :|

Here is the code

//============================================================================
// Human 04 -- orange player -- AI Script
//============================================================================

globals
player user = Player(1)
endglobals

function do_cheats takes nothing returns nothing
call Cheat("showmap")
call Cheat("av")
call Cheat("dg")
call Cheat("warnings")
call Cheat("viewres")
// call Cheat("superspeed")
set debug_fast_attacks = true
endfunction
 
Status
Not open for further replies.
Top