Data Realms Fan Forums http://45.55.195.193/ |
|
ACRocket door function? http://45.55.195.193/viewtopic.php?f=73&t=19764 |
Page 1 of 1 |
Author: | Roast Veg [ Fri Sep 17, 2010 11:52 pm ] |
Post subject: | 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? |
Author: | CaveCricket48 [ Sat Sep 18, 2010 6:52 pm ] |
Post subject: | 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. |
Author: | Lizardheim [ Sat Sep 18, 2010 7:09 pm ] |
Post subject: | Re: ACRocket door function? |
Use an invisible actor to trigger it? |
Author: | TheLastBanana [ Sat Sep 18, 2010 7:09 pm ] |
Post subject: | 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. |
Author: | Roast Veg [ Sat Sep 18, 2010 7:50 pm ] |
Post subject: | Re: ACRocket door function? |
Thanks very much |
Author: | Areku [ Sat Sep 18, 2010 11:20 pm ] |
Post subject: | Re: ACRocket door function? |
Actually, Controller.PRIMARY_ACTION also works. There's a lot of redundant functions around. |
Author: | Grif [ Sun Sep 19, 2010 8:39 am ] |
Post subject: | 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. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |