Posts: 916
Threads: 65
Joined: Jun 2011
08-04-2011, 18:16
(This post was last modified: 08-04-2011, 19:16 by Scripts18.)
A tool where you put a list of weapon
and it does this at the end
weapons2 = [];
weapons2[0]= "aspdw_mp";
weapons2[1]= "cz75dw_mp";
weapon2 = weapons2[RandomInt(weapons2.size)]
(can also change list name)
I have like 2000 weapons to add weapons[X]= " ";
all the time so long , help plz?
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
level.randomWep = level.weaponList[randomInt(level.weaponList.size)];
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 916
Threads: 65
Joined: Jun 2011
(08-04-2011, 19:42)Se7en Wrote: level.randomWep = level.weaponList[randomInt(level.weaponList.size)];
No not that.... a TOOL
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
no, this is only 1 line, not like 2000 lines.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 916
Threads: 65
Joined: Jun 2011
... a tool in wich I can add any guns even custom to make a random list
is it taht hard to understand se7en?
Posts: 916
Threads: 65
Joined: Jun 2011
Just nvm I made the whole list...
Posts: 916
Threads: 65
Joined: Jun 2011
(08-13-2011, 12:15)iAegle Wrote: (08-04-2011, 19:42)Se7en Wrote: level.randomWep = level.weaponList[randomInt(level.weaponList.size)];
level.weaponList != in blops
Thx iAegle, finally I knew his stuff wasnt working