Hi all.
I’m trying to make a door that axis can open and allies can destroy. How I’m trying to do is that :
- The door has a func_door_rotating and target name door04.
- There is a clip brush around the door which has func_explosive and script name script_gardgate
The idea is when allies destroy the clip brushes then the door should disappear.
Then I have a script called script_gardgate in my script file ( all scripts in this file works other than this one ).
Axis can open it but when allies tries to destroy it ET crashes and I can’t figure out what I’m doing wrong.
Here is the script :
script_gardgate
{
spawn // this is called when the game starts and the entity is spawned
{
wait 200
constructible_class 2 //
accum 5 set 0
}
death // this is called when the entity is destroyed...
{
setstate door04 invisible
}
}
Screenshot of door entities : http://stebbi.homeip.net/temp/door.JPG
Screenshot of clip entities : http://stebbi.homeip.net/temp/clip.JPG
Screenshot of the door and the clip bursh ( clip brush is the high lighted one ) : http://stebbi.homeip.net/temp/radiant.JPG
Any ideas what I might be doing wrong?
Thanks,
Stebbi67

