You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.
Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.
Rem Project: Dark Basic Pro Project
Rem Created: Sunday, February 13, 2011
Rem ***** Main Source File *****
sync on : sync rate 0
AI Start //this is line 6
rem The AI Start command creates the AI system and must always be called before other AI commands.
make object cube 1,10
AI Add Enemy 1
AI Entity Go To Position 1,0,30
rem This creates our single entity as a DarkBasic cube and adds it to the AI system as an enemy. In this case it does not matter which team we add it to since there will be no other entities added. We then give the entity something to do by telling it to move 30 units forward, away from the camera.
Login to post a reply