|
Post by nabeel on Jun 27, 2023 12:47:28 GMT
Hi, I hope everyone is good. Last day I try to add a functionality in my game. And I am using Invector. I want to equip a weapon through script mean when I hit play button player hold a gun. We can do this through Item Manager but problem is that I want it through script. If item manager, item list has specific or giving id than weapon of that id should be equip on start. Player should have weapon that have a given id through script. Did anyway give me solution for that query.
|
|
|
Post by Invector on Jun 29, 2023 12:52:38 GMT
how are you equipping the weapon? There is a scene called "Invector_InventoryExamples" which has examples on how to add/remove/drop items through code, you can take a look there to see how it works
|
|