how do i make the construction boxes go away once the constructable is built, cuz i got a constructable working fine yet the construction boxes dont go away
construction boxes not going away?
post your script here. You need to treat models and brushes differently. I had this same problem and I’ll try to find what is wrong.
alliedbox
{
spawn
{
wait 50
}
death
{
}
}
riverrampscript
{
spawn
{
wait 200
trigger riverrampscript setup
constructible_class 2
}
trigger setup
{
setstate riverrampscript invisible
setstate riverrampscript_materials default
setstate riverrampscript_materials_clip default
setstate riverrampscript_flag default
}
buildstart final
{
setstate riverrampscript underconstruction
setstate riverrampscript_materials default
setstate riverrampscript_materials_clip default
setstate riverrampscript_flag default
}
built final
{
setstate riverrampscript default
setstate riverrampscript_materials invisible
setstate riverrampscript_materials_clip invisible
setstate riverrampscript_flag invisible
// Some kind of UI pop-up to alert players
wm_announce "The ^6RIV^MER ^6R^MAMP ^7has been constructed."
wm_objective_status 2 0 2
wm_objective_status 2 1 1
}
}
theres my script, copied and pasted from the battery script i think, forgot which i copied from, and the top section for “alliedbox” is the construction boxes, read in another thread from sock to make the boxes a script mover so they are solid
So in this case your crates model has a targetname and scriptname of riverrampscript_materials?
interesting, very interesting, thx for pointing that out, when i made all that i got so caught up in it and seeing if the copied script would work i guess i forgot to see what names needed to be added, i just replaced all the words in there with riverrampscript that were in there, guess i forgot bout that, thx for poinin that out cheif
Just so you know. The way Splash put this script together.
riverrampscript_materials = crates model
riverrampscript_flag = flag model
riverrampscript_materials_clip = collection of clip brushes so you can’t walk through the crates or flag
If all you have is the crate model you only need that one line until you add a clip zone and a flag.