UberMouse
09-25-2009, 11:19 AM
What I would like to know is how to use objects correctly. Since currently I have multiple weapons all extended from a base weapon class. I have to access each of the variables inside the weapon by going currentWeaponArray[currentWeapon] (currentWeaponArray being where the weapon objects get pushed currentWeapon being the slot) what I would like is a currentWeapon object that I can just go currentWeaponObject = currentWeaponArray[currentWeapon] I tried this currentWeaponObject:Object but that didn't work I just got unknown object reference.
If anyone knows how to do this please tell me
Thanks
UberMouse
If anyone knows how to do this please tell me
Thanks
UberMouse