Multiple Use of same Class Name? |
Multiple Use of same Class Name? |
May 23 2009, 00:49
Post
#1
|
|
New Member Group: Members Posts: 6 Joined: 6-May 08 Member No.: 3,091 |
Is it possible to use the same class name multiple times with different model/texture files such as:
/*extern*/ class OfficerG; class West_OfficerG: OfficerG I am wanting to Re-texture this class multiple times using the same class and model but having different ranks(on the sleeve) on each one. I keep trying this by adding another string to the config with the same class and model but i get an error message saying that the class name has already been defined. /*extern*/ class OfficerG; class West_OfficerG: OfficerG { model = "\ABU_US_Airmen\SecurityForces1"; weapons[] = {}; magazines[] = { }; side = 1; displayName="USAF Security Forces1"; vehicleClass = "USAF"; }; /*extern*/ class OfficerG; class West_OfficerG: OfficerG model = "\ABU_US_Airmen\SecurityForces2"; weapons[] = {}; magazines[] = { }; side = 1; displayName="USAF Security Forces2"; vehicleClass = "USAF"; }; I want to accomplish this while using the same class which is OfficerG because he has the beret on his head. |
|
|
May 23 2009, 01:26
Post
#2
|
|
New Member Group: Members Posts: 6 Joined: 6-May 08 Member No.: 3,091 |
Never mind i got it thx
|
|
|
May 23 2009, 08:09
Post
#3
|
|
ArmA.info Sarcasm Society's Admin Extraordinaire Group: Administrators Posts: 907 Joined: 5-November 06 From: Canberra, Australia Member No.: 18 |
Solved, Closing
-------------------- |
|
|
Lo-Fi Version | Time is now: 24th April 2024 - 22:24 |