How do I get doors working with a console?
Moderator: Moderators
- linksith
- Command Sergeant Major

- Posts: 284
- Joined: Mon Jul 12, 2010 12:19 pm
- Projects :: Waaay too many projects
- xbox live or psn: me has no xbox
- Location: looking for a wifi connection
How do I get doors working with a console?
Hi, in one of my mods I could not get the Kashyyyk sea wall door to open when I destroyed the console and I wondered about using a door in space. So how could I get a door to open\close when a console is repaired\destroyed? Thanks.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: How do I get doors working with a console?
you would trigger an animation via lua if the consoleis destroyed, i think in the deathstar luas you can find some good references
-
RepSharpshooter
- Gametoast Staff

- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: How do I get doors working with a console?
Or look at the mustafar lua: the bridge going up and down.
- DarthFannel
- Private Second Class
- Posts: 60
- Joined: Tue Jul 20, 2010 9:53 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Mexico City
Re: How do I get doors working with a console?
Just to not make another topic with the same motif, can you make a door that opens only for friendly units usually unless you destroy something like a panel?
Correct me if I am wrong, I need a piece of code from the space campaign LUA, and possibily the code from the bridge panels in the Death Star... right?
Correct me if I am wrong, I need a piece of code from the space campaign LUA, and possibily the code from the bridge panels in the Death Star... right?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: How do I get doors working with a console?
about the onlyopenforallies: that would require some more complex luacoding, i suppose you would have to create a region and check on which team the unit is when it enters the region and then play the dooropeninganimation dependend on the outcome
why space, are there panels too?
you would need a code similiar to the panelcodes on the deathstar or the bridgecode from mustafar
why space, are there panels too?
you would need a code similiar to the panelcodes on the deathstar or the bridgecode from mustafar
