View Single Post
SadScrub
Member
Join Date: May 2014
Old 06-03-2014 , 11:16   Re: Weapons' item definition indexes stay the same.
Reply With Quote #4

Quote:
Originally Posted by WildCard65 View Post
what's index set to?
Index used to refer to a weapon index I set for the program (Primary slot, 45 (Force-a-Nature) to be precise). It's been now rewritten for 3 slots for more testing purposes.

Quote:
Originally Posted by Powerlord View Post
You're remembering to remove the previous weapon before giving them the new one?
Yes, in both my Post_Inventory_Application & Player_Spawn hooks. Here is the full code of the program, I apologize for not posting it sooner:

Spoiler


This force-spawns you as a Scout with the Force-a-Nature, Bonk! and Atomizer. They all do what they're supposed to (knockback, consumable/immunity and triple jump, respectively) and have proper skins, but, for example, the Atomizer still has the Bat taunt (that's how I noticed that the indexes differ in the first place).

Last edited by SadScrub; 06-03-2014 at 11:18.
SadScrub is offline