Im making a fIghting game, but I can't make CPUs! No matter how hard I try, they don't Work!P.S i have tryed using this:
<when green flag clicked>
<forever>
<move(10)steps>
<move(10)steps>
<move(10)steps>
<move(10)steps>
<move(10)steps>
<repeat until><touching[ Sprite 1
<next costume>
Offline
upload your project and post a link to it and I/we will hook you up asap
and sorry, in my day a cpu was a central processing unit
Offline
This isnt even an A.I. script. Try this:
[blocks]
<when green flag clicked>
<forever>
<point towards( mycharacter
<move(10 )steps>
<if><( <distance to[ mycharacter<<>50 )>
<switch to costume[ attack
<wait( 0.1 )secsc>
<switch to costume[ standing
<change{ health }by( 1
<wait( 1 )secsc>
<end>
<end>
[/blocks]
Offline