|
Post by Frosted Brain on Mar 2, 2020 14:05:16 GMT
How can I get the "action" button in the mobile demo scene to interact with the invector + dialogue system scene NPC? I tried changing the interact button on the player bridge script side to "A" like the touch button says and also tried changing both to E and still nothing. Am I doing something wrong? Thanks.
|
|
|
Post by hobbycoder on Mar 2, 2020 23:28:28 GMT
The way I would set up this in mobile is to
1) Add an empty object on the NPC you want to interact with 2) Add collder and vTriggerGeneric on that empty object 3) Add Dialogue System Trigger on the NPC itself, make it START CONVERSATION on trigger enter in action, and disabled the script 4) In vTrigger Generic, go to events, add one in the on start button..enable the Dialogue System Trigger. (So it will play the conversation once you click the action button) 5) On player exit event in vTriggerGEneric - disabled the dialogue system trigger script again.
|
|