Adding item to Scientist inventory on death?Solved
- 1
- 2
Nice. I think Nexttick is sufficient but nothing wrong with a timer. :)
I created a temporary player model (out of sight) to hold inventory/kit items until the bot corpse is made and processed, then moved all the items from temp to corpse, then destroyed temp.
There's no need for all that. I just didn't know any better at the time. ;)
There's no need for all that. I just didn't know any better at the time. ;)
In response to ():I created a temporary player model (out of sight) to hold inventory/kit items until the bot corpse i...
I guess, it's just A LITTLE BIT more performance expencive, than just running a timer =) Anyway - bot corpses are lootable after 2 seconds after creation (if only you don't force them with EnableLooting()), so it gives plenty of time to add items to them.
Locked automatically
- 1
- 2