|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Author |
Message |
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
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 |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
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 |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Re: ACRocket door function?
Use an invisible actor to trigger it?
|
Sat Sep 18, 2010 7:09 pm |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
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 |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: ACRocket door function?
Thanks very much
|
Sat Sep 18, 2010 7:50 pm |
|
|
Areku
Joined: Fri Oct 17, 2008 9:46 pm Posts: 5212 Location: The Grills Locker.
|
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 |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
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 |
|
|
|
|
Page 1 of 1
|
[ 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
|
|