|
Post by Haradan on Dec 17, 2019 9:36:50 GMT
Good afternoon! Please help me with advice. I make an object - a sleeping bag. And it has two functions: 1. It is an inventory item. 2. Through it, you can save progress. I did take an item using in "vTriggerGenericAction", which includes the disabled "vItemCollection". In this case, "InputTipe" is in the position of "GetButtonTimer". Actually the question: How can I make a second "vTriggerGenericAction" that will be assigned to another button, but will work together with the first?
ps I apologize for my English)
|
|
|
Post by Haradan on Dec 17, 2019 12:32:28 GMT
I tried adding another "vTriggerGenericAction" to the object, but it does not work. And if you do it through an additional child object, then it seems to me there will be problems with the operation of the trigger.
|
|
|
Post by Invector on Dec 18, 2019 14:25:54 GMT
You could add 2 generic actions in one object but you will also need 2 separate triggers placed in 2 different positions (ex: one in the top part of the bag, another in the bottom) then the camera will be responsible to activate each trigger when you look at it, you can't activate both trigger at the same time though
|
|
|
Post by Haradan on Dec 18, 2019 15:22:09 GMT
Clear. Thanks for the answer!) Well then I have to write my trigger ... Or I’ll try to rewrite your script so that it can be triggered by one collider. If I succeed, I will post the code here)
|
|