by lizardcommando » Mon Feb 02, 2009 2:54 am
I figured that deciding which weapon is droppable or not depends on whether or not it has a SPAWN state defined. For example, I didn't add one for my starting pistol in my mod, but I went back and put in a SPAWN state and I tested it again and it works.
Now, I went back to play around with the dropweapon key again and it still fucks up when I try to drop certain weapons. In my case, it would be the Infantry Rifle that fucks up when I try to use the dropweapon command. Now, the weird thing is that if I summon that weapon through the console or give me a weapon through the console, the dropweapon command won't fuck up. Maybe it's because of my shoddy DECORATE coding or something. I'm not really sure.
I figured that deciding which weapon is droppable or not depends on whether or not it has a SPAWN state defined. For example, I didn't add one for my starting pistol in my mod, but I went back and put in a SPAWN state and I tested it again and it works.
Now, I went back to play around with the dropweapon key again and it still fucks up when I try to drop certain weapons. In my case, it would be the Infantry Rifle that fucks up when I try to use the dropweapon command. Now, the weird thing is that if I summon that weapon through the console or give me a weapon through the console, the dropweapon command won't fuck up. Maybe it's because of my shoddy DECORATE coding or something. I'm not really sure.