hey here is my script for 3 destryoable/buildable doors which start constructed. when they are destroyed the amterials do not goto default so i can see them. So i can still build the door but i have to use the plyers where thet actual door is. is there an error in my script? i got it from a tutorial o nsurface forums/tutorials… thanks guys
and naming si correct(no spelling errors)
axis_dr_1
{
spawn
{
wait 200
constructible_class 2
constructible_constructxpbonus 3
constructible_destructxpbonus 3
setstate axis_dr_1_materials invisible
}
built final
{
setstate axis_dr_1 default
setstate axis_dr_1_materials invisible
}
decayed final
{
setstate axis_dr_1_materials default
setstate axis_dr_1 invisible
}
death
{
wm_announce "The Security Door has been destroyed!"
setstate axis_dr_1_materials default
}
}
axis_dr_del
{
spawn
{
wait 200
constructible_class 2
constructible_constructxpbonus 3
constructible_destructxpbonus 3
setstate axis_dr_del_materials invisible
}
built final
{
setstate axis_dr_del default
setstate axis_dr_del_materials invisible
}
decayed final
{
setstate axis_dr_del_materials default
setstate axis_dr_del invisisble
}
death
{
wm_announce "The Loading Bay Door has been destroyed!"
setstate axis_dr_del_materials default
}
}
axis_dr_fuel
{
spawn
{
wait 200
constructible_class 2
constructible_constructxpbonus 5
constructible_destructxpbonus 4
setstate axis_dr_fuel_materials invisible
}
built final
{
setstate axis_dr_fuel default
setstate axis_dr_fuel_materials invisible
}
decayed final
{
setstate axis_dr_fuel_materials default
setstate axis_dr_fuel invisisble
}
death
{
wm_announce "The Fuel Depositry Door has been destroyed!"
setstate axis_dr_fuel_materials default
}
}