FANDOM


Lesson 1: AI

A simple AI needs to have a range.

So, we add the player and give him a tag.

Then, the enemy's code has: If tag in range 10, then turn to tag and animate fire r.

In BW code, it is

Tag in range[10], does Turn to tag and Fire R.

Lesson 2: Reload Time

After the time you make the player, it will look like:

Does Mover

R Does Fire R

...Wait! Your character shoots like mad! Change the code on the last line to:

R Does Fire R Wait[1 sec]

NOW he reloads!