what is wrong in this script to make the constructions_materials visible?
the constructible wall is set on start_built
wall
{
spawn
{
wait 200
constructible_class 3
constructible_constructxpbonus 20
constructible_destructxpbonus 25
setstate wall_materials invisible
}
built final
{
setstate wall default
setstate wall_materials invisible
}
decayed final
{
setstate wall_materials default
setstate wall invisible
}
death
{
wm_announce "The main wall has been destroyed!"
setstate wall_materials default
setstate wall invisible
}
}