.Toaster 2 Posted May 17, 2014 Share Posted May 17, 2014 Hey Guys, I have this question: When i want to dropp items from my inventory to the ground, where i can find this function in source? The Items should be removed in about 5 seconds, when i dropp it. (I dont need the diff, because it dont works for me, i need the source function on 40k for it.) Hope you can help. Mfg Link to comment Share on other sites More sharing options...
Solution Coveto 5 Posted May 27, 2014 Solution Share Posted May 27, 2014 Item.h, find "StartDestroyEvent" and change (int iSec = 300) 1 Link to comment Share on other sites More sharing options...
Think 117 Posted May 27, 2014 Share Posted May 27, 2014 Remember that you will need to change both client AND server for them to actually disappear. Link to comment Share on other sites More sharing options...
Former Staff .InyaProduction 1124 Posted May 27, 2014 Former Staff Share Posted May 27, 2014 Lol no. You just have to change serverside time Link to comment Share on other sites More sharing options...
Think 117 Posted May 27, 2014 Share Posted May 27, 2014 Hmm a quick doublecheck seems to somewhat confirm it. I never even tried but I saw they set a timeout of 300 for the actual item instance, asummed YMIR wouldn't send a packet for item ground removal unless someone picked it up - Does it?. Link to comment Share on other sites More sharing options...
Former Staff .InyaProduction 1124 Posted May 27, 2014 Former Staff Share Posted May 27, 2014 I think they send the destroy time together with the drop packet. Im not sure and i cant take a look cause im not at home Link to comment Share on other sites More sharing options...
HA MeCa 11 Posted June 2, 2014 Share Posted June 2, 2014 I connect to the topic... i need expire 'noname' items expire - 5 sec because ownership is easy to config but how to change - expire noname items (StartDestroyEvent) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now