Files
IL-GSC/BO2/PC/MP/codescripts/character_mp.gsc
2023-10-27 03:49:01 -04:00

32 lines
667 B
Plaintext

/*******************************************************************
* Decompiled By: Bog
* Decompiled File: codescripts\character_mp.gsc
* Game: Call of Duty: Black Ops 2
* Platform: PC
* Function Count: 3
* Decompile Time: 3 ms
* Timestamp: 10/27/2023 2:59:42 AM
*******************************************************************/
#include codescripts/character;
//Function Number: 1
setmodelfromarray(a)
{
self setmodel(a[randomint(a.size)]);
}
//Function Number: 2
precachemodelarray(a)
{
for(i = 0;i < a.size;i++)
{
precachemodel(a[i]);
}
}
//Function Number: 3
attachfromarray(a)
{
self attach(codescripts/character::randomelement(a),"",1);
}