I get this error message when I try to start my map: AIcast_scriptParse(), Error (line 105):’}'expected, end of script found
this is my ai script:
player
{
spawn
{
abort_if_loadgame
}
playerstart
{
mu_fade 0 1500
mu_queue sound/music/1_theme
giveinventory key_binocs
}
trigger endmap_romeo
{
changelevel sierra persistent
}
}
soldier01
{
attributes
{
starting_health 100
walking_speed 300
idle_crouch 0.5
attack_crouch 0.5
attack_skill 0.5
aim_accuracy 0.5
aim_skill 0.5
sggression 1.0
camper 1.0
tactical 1.0
pain_threshhold_scale 1.0
alertness 1200
hearing_scale 1.0
fov 90
inner_detecion_radius 512
}
spawn
{
giveweapon weapon_mp40
setammo ammo_9mm 999
statetype relaxed
wait 4000
playsound whistle
}
wait 1000
trigger soldier01 walking
}
trigger walking
{
walktomarker marker1
walktomarker marker2
trigger soldier01 walking
}
}
enemysight
{
playsound Esc1Nazi18_4
}
}
soldier02
{
attributes
{
starting_health 100
walking_speed 300
idle_crouch 0.5
attack_crouch 0.5
attack_skill 0.5
aim_accuracy 0.5
aim_skill 0.5
sggression 1.0
camper 1.0
tactical 1.0
pain_threshhold_scale 1.0
alertness 1200
hearing_scale 1.0
fov 90
inner_detecion_radius 512
}
spawn
{
giveweapon weapon_mp40
setammo ammo_9mm 999
statetype relaxed
wait 4000
playsound whistle
}
enemysight
{
playsound Esc1Nazi18_4
}
}