i have made a constructible wall. You need to destroy it with a satchel, but somehow the materials don’t appear. What am i doing wrong?
To directly give all the info, i’ve made this:
THE ENTITIES
classname script_multiplayer
scriptname game_manager
origin coördinates
classname func_constructible (brush + originbrush)
spawnflags 5 (start_built + axis_constructible)
targetname norhtwall
scriptname northwall
classname trigger_objective_info (triggerbrush + originbrush)
spawnflags 1 (axis_objective)
target northwall
targetname northwall_toi
scriptname northwall_toi
track the north wall
classname func_brushmodel (brush + originbrush)
targetname northwall_materials
scriptname northwall_materials
target northwall_toi
THE SCRIPT
game_manager
{
spawn
{
}
}
northwall
{
spawn
{
wait 200
constructible_class 2
constructible_constructxpbonus 7
constructible_destructxpbonus 7
setstate northwall_materials invisible
}
built final
{
setstate northwall default
setstate northwall_materials invisible
wm_announce “The north wall has been built!”
}
decayed final
{
setstate northwall_materials default
setstate northwall invisible
}
death
{
wm_announce “The north wall has been destroyed!”
setstate northwall_materials default
}
}
eastwall
{
spawn
{
wait 200
constructible_class 3
}
death
{
wm_announce “The east wall has been destroyed!”
}
}
doesn’t seem to work
…that last post would be totally wrong.
