Jump to content
Sign in to follow this  
Cernu

NPC don't equip items ?

Recommended Posts

I want to create randomized NPC . However, when I want them to equip some item through script, like a hat, or boots, they just hold the items in their hands...

 

Share this post


Link to post
Share on other sites

Hi Cernu,

I was interested in this question, so I did a quick test. You can use "Equip Character" for NPCs and it worked well for me. If I just spawn them with the NPC as a target, it does put it in their inventory. So this second tile is needed for them to put on the outfit. :) 

 

Ylands_201025_092439.thumb.png.b52ea833790e261b51276f0e2a1f9990.png

  • Upvote 2

Share this post


Link to post
Share on other sites

I feel stupid, because I tried so many stuff. Thanks a lot, it works like a charm... 

Share this post


Link to post
Share on other sites

Don't feel that way. I definitely pulled my hair out with other problems until I found just the right visual scripting tile. Once they update the Bohemia Wiki, hopefully it will be easier to figure out answers to questions like this.
I'm really glad it works!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×