Use Botton not responding in my project

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
nathanj
Posts: 303
Joined: Sat May 28, 2016 12:30 am

Use Botton not responding in my project

Post by nathanj »

Hi Tony

Can you think of any reason why my Use Button on the Selector would not work? The Use Key is the only way I can trigger events at the moment with my player. There is a matching string value Fire1 in the input manager.

I tried the demo scene and everything works as expected. I've done something somehow that has disabled the Use Button input to work and I can not for the life of me figure out what it is. I know that this is another extremely vague question and you have no idea what is going on in my build but I was wondering if you had any ideas of possible culprits?

Thanks again.
Nathan
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Use Botton not responding in my project

Post by Tony Li »

Is there maybe a blank space in the Use Button field, such as "Fire1 "? Or is the "1" an L? (Firel vs Fire1)
User avatar
nathanj
Posts: 303
Joined: Sat May 28, 2016 12:30 am

Re: Use Botton not responding in my project

Post by nathanj »

No, I've copied the string value right from the Input Manager field.

I'm quite stumped on this. :?:
User avatar
nathanj
Posts: 303
Joined: Sat May 28, 2016 12:30 am

Re: Use Botton not responding in my project

Post by nathanj »

So I just dragged my player into the demo scene and everything is working as expected.

Ok, so there is something in one of my scenes that is causing this error. I'll let you know when I've found it.
User avatar
nathanj
Posts: 303
Joined: Sat May 28, 2016 12:30 am

Re: Use Botton not responding in my project

Post by nathanj »

OK, man, I feel dumb.

It was the Input Device Manager. I had removed it because it had conflicted somehow with a input put manager in our our build (which I'm currently developing in). I noticed that the inputs stopped working a while ago but never addressed the issue. By adding the Input Device Manager to the Dialogue Manager object and disabling all the controls it seems to work along side the existing manager.

This is to say that this is an old system and I'm just maintaining it while our new project is being developed. The new system integrates perfectly with the Input Device Manager so there's not really any need to figure out where the conflict is here.

Thanks again, sorry to bother you on Sunday (it's Monday here ;) )

Nathan
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Use Botton not responding in my project

Post by Tony Li »

Hmm, the Dialogue System should still work without an Input Device Manager. But if it's working now, great!
User avatar
nathanj
Posts: 303
Joined: Sat May 28, 2016 12:30 am

Re: Use Botton not responding in my project

Post by nathanj »

Ya, that's what I thought, and I'm sure it did for a long time. But something changed about a month or two ago (been doing a bunch of random other development lately and haven't been focusing on the main build so I can't say for sure). Again, most likely something I did :?

But ya, all good here.
Post Reply