View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:35 pm



Reply to topic  [ 7 posts ] 
 ACRocket door function? 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post ACRocket door function?
Had a good long search and after finding hardly anything useful and nothing fully conclusive I decided a new thread was in order.

I need to know if there are Lua functions that forcibly open and/or close all exits. If there are not, is there a hacky way round it?


Fri Sep 17, 2010 11:52 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: ACRocket door function?
You can force the doors open by using the controller input that makes actors Fire. I haven't figured out how to close the doors yet.


Sat Sep 18, 2010 6:52 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: ACRocket door function?
Use an invisible actor to trigger it?


Sat Sep 18, 2010 7:09 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: ACRocket door function?
Controller.PRESS_FACEBUTTON is what you're looking for. When it's set to true, it either opens or closes the doors depending on their current state.


Sat Sep 18, 2010 7:09 pm
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: ACRocket door function?
Thanks very much :grin:


Sat Sep 18, 2010 7:50 pm
Profile
User avatar

Joined: Fri Oct 17, 2008 9:46 pm
Posts: 5212
Location: The Grills Locker.
Reply with quote
Post Re: ACRocket door function?
Actually, Controller.PRIMARY_ACTION also works. There's a lot of redundant functions around.


Sat Sep 18, 2010 11:20 pm
Profile WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: ACRocket door function?
Redundant but not identical. PRESS_FACEBUTTON is obviously a gamepad related hook, whereas PRIMARY_ACTION is a generic statement. There's situations where only one would be useful.


Sun Sep 19, 2010 8:39 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.276s | 13 Queries | GZIP : Off ]