Ok i got the computer to work, but now i cant blow it up :banghead:
here is the script:
computer_script
{
spawn
{
wait 50
constructible_class 2
trigger self setup
}
trigger setup
{
setstate computer_built_model invisible
setstate computer_closed default
}
buildstart final
{
setstate computer_built_model underconstruction
setstate computer_closed default
}
built final
{
setstate computer_built_model default
setstate computer_closed invisible
wm_announce "The Allies have started the Control Unit!"
}
decayed final
{
setstate computer_built_model invisible
setstate computer_closed default
}
death
{
setstate computer_built_model invisible
setstate computer_closed default
wm_announce "The Axis have shut down the Control unit!"
}
}
here are my entities
“classname” “script_mover”
“spawnflags” “2”(solid)
“scriptname” “computer_closed_model”
“targetname” “computer_closed_model”
“origin” “-1118 -1179 465”
“targetname” “computer_target”
“scriptname” “computer_script”
“spawnflags” “8”(allied constructible)
“classname” “func_constructible”
“origin” “-1071 -1179 465”
“shortname” “Control Unit”
“track” “the Control Unit”
“target” “computer_target”
“classname” “trigger_objective_info”
“customimage” “gfx/limbo/cm_control_unit”
“spawnflags” “2”(allied objective)
“scriptname” “computer_closed”
“targetname” “computer_closed”
“spawnflags” “2”(solid)
“classname” “script_mover”
Hope someone knows the answer 