Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[2.2]Programmable AI via scripting
#19
ok then even further improved mimic AI for 0.4:

Code:
if(target_d==1){D()}
if(target_down==1){down()}
if(target_up==1){up()}
if(target_left==1){left()}
if(target_right==1){right()}
if(target_j==1){J()}
if(target_a==1){A()}
if(target_DuJ==3){DuJ()}
if(target_DrJ==3){DrJ()}
if(target_DdJ==3){DdJ()}
if(target_DlJ==3){DlJ()}
if(target_DuA==3){DuA()}
if(target_DrA==3){DrA()}
if(target_DdA==3){DdA()}
if(target_DlA==3){DlA()}
if(target_DJA==3){DJA()}
if(target_facing!=self_facing && self_facing==0) {left()} else if (target_facing!=self_facing) {right()}
return 1;

will also update the tutorial and clide's AI
Reply
Thanks given by:


Messages In This Thread
[2.2]Programmable AI via scripting - by Boop - 06-08-2012, 06:31 PM
RE: [0.4 Update]Programmable AI via scripting - by YinYin - 06-11-2012, 06:58 PM
RE: [2.0]Programmable AI via scripting - by Boop - 06-30-2012, 01:54 PM
RE: [2.1]Programmable AI via scripting - by mfc - 07-05-2012, 10:33 AM
RE: [2.1]Programmable AI via scripting - by Boop - 07-05-2012, 11:53 AM
RE: [2.1]Programmable AI via scripting - by A-Man - 07-05-2012, 12:18 PM
RE: [2.2]Programmable AI via scripting - by A-Man - 07-19-2012, 03:08 PM
RE: [2.2]Programmable AI via scripting - by Boop - 07-19-2012, 03:15 PM
RE: [2.2]Programmable AI via scripting - by Kevin - 07-22-2012, 08:20 AM
RE: [2.2]Programmable AI via scripting - by Boop - 07-27-2012, 04:41 PM
RE: [2.2]Programmable AI via scripting - by A-Man - 09-15-2012, 05:23 PM
RE: [2.2]Programmable AI via scripting - by Boop - 05-05-2013, 04:44 PM
RE: [2.2]Programmable AI via scripting - by zort - 06-12-2013, 05:45 PM
RE: [2.2]Programmable AI via scripting - by zort - 06-15-2013, 01:44 AM
RE: [2.2]Programmable AI via scripting - by zort - 06-14-2013, 07:21 PM
RE: [2.2]Programmable AI via scripting - by A-Man - 03-29-2016, 01:59 PM
RE: [2.2]Programmable AI via scripting - by Boop - 03-30-2016, 10:26 PM
RE: [2.2]Programmable AI via scripting - by Gad - 02-10-2017, 06:58 PM



Users browsing this thread: 21 Guest(s)