Now, to do my best to keep stuff where it belongs, I'll go on posting here about my problems.
For the whole story read here: http://dynamic4.gamespy.com/~map/mohaa/ ... highlight=
I wanted to make my two winged glass doors breakable, nuggets posted a great script... but...
Here's what I have until now:
the doors (unbroken#)
the fx/debris/windowpane (door#_glass)
the handles lying on the floor (door#_rest)
the trigger_use (door#)
the trigger_multiple (door#_breaker)
and scripting:
main:
...
level waittill spawn
...
thread doorhide
end
///////////////////////////////////////////////////////////
...
door1:
self nottriggerable
$unbroken1 waitthread door_mover_ccw
self triggerable
end
door2:
self nottriggerable
$unbroken2 waitthread door_mover_cw
self triggerable
end
// and doors 3-10
///////////////////////////////////////////////////////////
door_mover_ccw:
self time 3
self rotateYup 90
self waitmove
self wait 5
self rotateYdown 90
self waitmove
end
door_mover_cw:
self time 3
self rotateYdown 90
self waitmove
self wait 5
self rotateYup 90
self waitmove
end
///////////////////////////////////////////////////////////
door1_breaker:
$unbroken1 remove
$door1_trigger remove
$door1_rest show
$door1_glass show
$door1_glass anim start
wait 1
$door1_glass remove
end
door2_breaker:
$unbroken2 remove
$door2_trigger remove
$door2_rest show
$door2_glass show
$door2_glass anim start
wait 1
$door2_glass remove
end
// and doors 3-10
///////////////////////////////////////////////////////////
doorhide:
$door1_rest hide
$door1_glass hide
$door2_rest hide
$door2_glass hide
// and doors 3-10
end
///////////////////////////////////////////////////////////
What is not working:
1. that fx/debris/windowpane is not some glass splinters flying around, like normal windows produce when shot, but these window frames (which look rather strange and do no animation at all)
2. the doors open too slowly, don't stay open and close too slowly
3. for doors opening alwaysaway, I probably will need two trigger_use per door? If not, can you tell me how?
Now, my tiny scripting brains are looking like charcoal and you'll have to help! Will you?? Pleeeeeease!!!

