Tomo2000 60 Report post Posted May 22, 2009 Hi, its me again. I need a little bit of help. If you are using this script in a conditional branch: Input.trigger?[Input::A] I've tried but I cant figure out what the arrow keys are. Can somebody help me out. Thanks in Advance ~Tomo2000 Share this post Link to post Share on other sites
Nisage 31 Report post Posted May 22, 2009 Is the Input.trigger?[Input::A] being used in a Call Script? You can just make a Conditioinal Branch, go to the forth tab, Button [select button] is Being Pressed, that's how I set it up for the arrow buttons. No idea how to set it up for a Call Script, sorry. Maybe Polraudio, and Leon might know how to. (That's your cue you two) Share this post Link to post Share on other sites
Leon 55 Report post Posted May 22, 2009 Use () instead of [] Share this post Link to post Share on other sites
Kiriashi 117 Report post Posted May 22, 2009 Wow that was really simple. xD Its weird (well not really but sorta) how every little space and character can make a huge difference in scripting. Share this post Link to post Share on other sites
Polraudio 122 Report post Posted May 22, 2009 Dang Leon beat me to it. The arrow keys are the same as anything else. UP DOWN LEFT RIGHT They should work. Share this post Link to post Share on other sites
Kiriashi 117 Report post Posted May 22, 2009 They're called up down left and right? Should they be called right arrow left arrow etc.? That would make a lot more sense. Share this post Link to post Share on other sites
Tomo2000 60 Report post Posted May 22, 2009 Ok, thanks but I still can't get my event working. I thought that it was something like D_Up, D_Left, etc. Tell me if I missed anything. ~Tomo2000 Share this post Link to post Share on other sites
Kiriashi 117 Report post Posted May 22, 2009 Are you sure you replaced the brackets with parentheses? What about your event trigger? Is it on Parallel Process? Share this post Link to post Share on other sites
Tomo2000 60 Report post Posted May 23, 2009 Yup and Yup. Share this post Link to post Share on other sites
Kiriashi 117 Report post Posted May 23, 2009 Well I don't really know what to do then.. :} I guess you just have to get a hold of Polraudio or Leon. Share this post Link to post Share on other sites
Tomo2000 60 Report post Posted May 23, 2009 Ok. Thanks. Share this post Link to post Share on other sites
Kiriashi 117 Report post Posted May 23, 2009 No problem. I will try to get a hold of Leon for you if you don't get help from Polraudio. ;) Share this post Link to post Share on other sites
Polraudio 122 Report post Posted May 24, 2009 Here is what your event should look like. In your Conditional branch under script you should have this Input.trigger?(Input::UP) or Input.trigger?(Input::LEFT) or Input.trigger?(Input::DOWN) or Input.trigger?(Input::RIGHT) If you need me to make a demo, ask and i will whip one up for ya. Share this post Link to post Share on other sites