Skip to main content

Search

Logic Question : Clicking your environment ( RE style )

  • mmdev7

    Use the grab gadget found in gadgets > inputs. This will trigger when the imp grabs the object the gadget is stuck to.

    You may also need to make sure the object is grabbable. Tweak the object and it’s grabbable settings can be found at the bottom of its physical properties tab.

    Hope this is helpful :) Peter

  • Danfromumbrella

    Is there a way to do it by just clicking a button on your controller rather than using the imp? In other words, if there's a computer in the environment I walk up to it and click X then words pop up that say " The computer looks to be out of order"....Along those lines.

    So basically how do I get something like that to be triggered by pressing a specific button on my controller.

  • mmdev5 - Liam

    Hey,

    If you want to do this, the easiest way is to put a trigger zone on the object (e.g. the computer), and set it to detect a tag that you put on the character. In the character's logic, wire the X output of the controller sensor to the Tag, so that it only activates when you press X.

    This means the trigger zone output will send out a signal when the character is near and pressing X.

    Hope that helps :)

    - Liam

  • Danfromumbrella

    Thank you :)

  • Danfromumbrella

    '@mmdev5 - Liam

    So I tried it but I think I must be screwing something up. I press X and it pops up but it pops up everywhere in the location and not where the trigger zone is. I set it to detect tag, and i put a tag in the character's logic ( where the control settings and other chips are )...what do i name the tag? is there something I'm screwing up?

    Sorry, I'm very new to this as I never even played LBP games either.

Please sign in to leave a comment.