RPG Starter

by Falacy
An Open Source Demo/Game with everything you'll need to get started on your very own BYOND Game!
ID:292229
 
The tutorial for the AI system didn't work for my game.
It would have like 27 errors.
... Can you display your code, please? How are we supposed to help without it? ... We can't.

Just use this page for tag information.

:] Thanks and try again!
In response to Kenny84
I don't know the HTML code for the box. But it's from Falacy's AI Tutorial. If you could tell me the HTML then maybe someone could tell me my Flaws. :l
In response to Mner2
Mner2 wrote:
I don't know the HTML code for the box. But it's from Falacy's AI Tutorial. If you could tell me the HTML then maybe someone could tell me my Flaws. :l

<dm>CODE</dm>

mob/verb/hi(t as text)
world << "[src]: [t]"
In response to Exonit
mob/Enemies/proc/CombatAI()
while(src)
for(var/mob/Player/M in oview())
if(get_dist(src,M)<=1)
src.dir=get_dir(src,M)
src.Attack()
else
step_to(src,M)
break
sleep(rand(4,8))
In response to Mner2
http://www.byond.com/members/Falacy/forum?id=11648&single=1
Don't know how you managed 27 errors on 10 lines of code, but you most likely don't have a Player type mob, or an Attack verb. You can't just copy and paste random code into a random project and expect it to work.
In response to Falacy
Random project? I've been working on it since December, I have the mob thing and many other things, Lol. I typed it in at my Main code file.