Adding item to Scientist inventory on death?Solved
In response to ():
"Doesn't work... what am I doing wrong? Thanks."
You might need to do it a tick or two later, s...
Yeah I got it working using a timer.
Nice. I think Nexttick is sufficient but nothing wrong with a timer. :)
In response to ():
"Doesn't work... what am I doing wrong? Thanks."
You might need to do it a tick or two later, s...
Why does it suck?
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. ;)
In response to ():
I created a temporary player model (out of sight) to hold inventory/kit items until the bot corpse i...
Why don't you change it then? :)
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