Hi how many weapon ID number maximum in Spring ?
and how to write them ? (just like in OTA ?)
Weapon ID maximum number
Moderator: Moderators
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
- GrOuNd_ZeRo
- Posts: 1370
- Joined: 30 Apr 2005, 01:10
CAn't we have weapon stored in an array instead of first/second/third etc..?
Like that, we can have an "infinite" number of weapons.
So the same idea as Zwzsg : weapon[x] , Aim[x] etc...
Like that, we can have an "infinite" number of weapons.
So the same idea as Zwzsg : weapon[x] , Aim[x] etc...
Last edited by Torrasque on 06 Aug 2005, 18:27, edited 1 time in total.
genius idea :)zwzsg wrote:No limit would be better
Weapon1=..;
...
Weapon1544564=..;
Instead of Primary, Secondary, Tertiary, use 1,2,3,4,... in script function names:
AimFrom1544564(piecenume), Query1544564(piecenume), etc...
Still call both AimPrimary and Aim1, etc...,etc... so as not to break old TA units.