What changes do i have to make in my script file to have a working rotating door (func_door_rotating) in the constructable?
script so far:
game_manager
{
spawn
{
}
}
construction_script
{
spawn
{
wait 200
constructible_class 2
trigger self startup
}
buildstart final
{
}
built final
{
setstate construction_target default
setstate const_tower invisible
// Some kind of UI pop-up to alert players
wm_announce "Allied team has built a watchtower!"
}
decayed final
{
trigger self startup
}
death
{
trigger self startup
// Some kind of UI pop-up to alert players
wm_announce "Axis team has destroyed the watchtower!"
}
trigger startup
{
setstate construction_target invisible
setstate const_tower default
}
}
