ID:1876481
 
(See the best response by Kaiochao.)
Code:
// BEGIN_INTERNALS
// END_INTERNALS

// BEGIN_FILE_DIR
#define FILE_DIR .
#define FILE_DIR "Art"
// END_FILE_DIR

// BEGIN_PREFERENCES
// END_PREFERENCES

// BEGIN_INCLUDE
#include "tutorial.dm"
#include "interface.dmf"
#include "map.dmm"
#include "code\barCode.dm"
#include "code\enemy.dm"
#include "code\playerVar.dm"
#include "code\playerVerbs.dm"
#include "code\proc.dm"
#include "code\turfs.dm"
// END_INCLUDE


Problem description:loading Hello World.dme
Hello World.dme:28:error: }: expected )
Hello World.dmb - 1 error, 0 warnings


*I have no idea where I am getting this error from. I looked all over this source and I couldn't find one "}" in it. I would really appreciate the help.
The last line in turfs.dm has an extra (.
I checked in my tufs.dm file and I couldn't find an extra (. So after careful analyzing I think I have found what is causing that error but I have no idea on how to solve it.

 mob/enemy
icon='AntSoldier.dmi'
icon_state="AntS"




New()
while(src)
for(var/mob/m in view(3,src))
if(m.client)
walk_towards(src,m,0,3)
for(var/mob/m in (get_step(src,src.dir))
if(n.client)
var/damage=src.brawn-(m.res/3)
m.hp-=damage
m.healthCheck()
src.deathCheck(m)
sleep(1)
In response to Paulslayer1000
Best response
Your second for loop shouldn't have a ( to the left of get_step(). (Sorry, apparently it doesn't have to be on the last line)
Thank you Again. I have fixed the problem