I need your great Experience.

Blitz3D Forums/Blitz3D Programming/I need your great Experience.

KissKool,

Look in the manual for commands such as

Entitydistance, entityvisible, entityinview, pointentity, moventity.

Use these to make a simple AI. In psuedo code (ie think it out loud and then work out how to code it)...

If player to rabbit distance is < 200 then move rabbit

If camera cannot see rabbit then don't move it.

if player distance to rabbit >500 then get rabbit to move towards player.


I hope this helps.

IPete2.