
Posts
71
Respect
Forum Rank
Rotting Walker
Primary Group
Donator ♥
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |

level.arrayname = [];![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |


![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
if( !isDefined(self.perks) )
self.perks = [];
self.perks[self.perks.size] = "new_perk";
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |




![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
That was just an example, not a very good one at that. I meant if it's more than one perk, how would I save it.
Thank you, Pwn!
if( !isDefined(self.perks) )
self.perks = [];
for(i=0;i<available_perks.size;i++)
{
if( player hasperk( available_perks[i]) )
{
self.perks[self.perks.size] = available_perks[i];
}
}
self.perks[self.perks.size] = "new_perk1";
self.perks[self.perks.size] = "new_perk2";
