hey
im trying to make test map with a mirror which can be blown by a dynamite.
the mirror worked and everything, untill i added a script for the dynamite (because the mirror was destroyable by guns etc…)
i did this:
i turned the mirror into a func_explosive with:
scriptname dyno (<- i also tried ‘mirrorblow’ for this )
classname func_explosive
spawnflags 4
type glass
mass 600
targetname t1
then i added a brush with trigger texture and turned it into a trigger_objective_info:
classname trigger_objective_info
spawnflags 2
target t1
track Mirror.
Next i added a ‘script_multiplayer’:
classname script_multiplayer
origin 272 -144 344
scriptname game_manager (i also tried ‘dyno’ (which is also name of map) and ‘mirrorblow’)
this is the script, it’s called ‘dyno.script’ and its in etmain/maps (same as dyno.bsp)
game_manager
{
spawn
{
}
}
mirrorblow
{
spawn
{
wait 200
constructible_class 3
}
death
{
wm_announce "Allies have blown the mirror!"
}
}
Now when i try to run my map (using sv_pure 0 and devmap dyno) i get the following error:
G_Script_Scriptparse(), Error (line 0): ‘{’ found, NAME expected.
dunno what i have wrong? probably something in my script or a scriptname key …
