As far as I'm aware, it doesn't matter what it is that is a fun_rotatingdoor, cos I want to make a openable window. Problem being, I want it to hinge from the top. I've put the origin along the top edge but no luck, I swung as if it didn't have a origin. So I have I got to do something special? Also, what happens with the angle setting?
Thanks.
Bilko.
Top hinging window
Moderator: Moderators
That type of window needs to be scripted.
Make it a script_object, and insert an origin at the top where you want the hinges. call it target/window.
Give your window trigger a setthread/window pair.
In your script:
window:
self nottriggerable
self rotatexup 90
wait xx // time in seconds you want the window to stay open
self rotatexdown 90 //if you want the window to close after "xx"
self triggerable
end
You could also do a "playsound" if you want.
This is as good as I can do, because I am by no means a scripter!
Kill Ya Later.
Make it a script_object, and insert an origin at the top where you want the hinges. call it target/window.
Give your window trigger a setthread/window pair.
In your script:
window:
self nottriggerable
self rotatexup 90
wait xx // time in seconds you want the window to stay open
self rotatexdown 90 //if you want the window to close after "xx"
self triggerable
end
You could also do a "playsound" if you want.
This is as good as I can do, because I am by no means a scripter!
Kill Ya Later.
I tried to something like that ages ago, but for a Hatch. Here's the post link:
viewtopic.php?p=22544&highlight=#22544
viewtopic.php?p=22544&highlight=#22544
Zip 
