Posts
212
Respect
181Add +1
Forum Rank
Mr. Elemental
Primary Group
Member
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!Remove the self delete; (delete is actually a function which should be written like so: delete()). No idea why you'd want it there.
do you have a perk_limit stated because that my be the problem

???
Isn't the whole point of this to give him an extra perk slot? What would be the point if he didn't have a perk limit set up in the first place?
The problem I think is that you didn't put what Pwn said, you put this - perk_slot(); when you should be putting this - maps\mapname::perk_slot();
???
Isn't the whole point of this to give him an extra perk slot? What would be the point if he didn't have a perk limit set up in the first place?
The problem I think is that you didn't put what Pwn said, you put this - perk_slot(); when you should be putting this - maps\mapname::perk_slot();

wha...wha.. what?!?!?!?! stevie being helpful!?!??! WHAT HAS THIS WORLD COME TO!!!!!!!!!!!!!!!



![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
ZM is crammed full of nooby idiots asking nooby idiotic questions, I just provide the appropriate responses to said idiotic questions. And this site is not ZM so I fail to see your point...
???
Isn't the whole point of this to give him an extra perk slot? What would be the point if he didn't have a perk limit set up in the first place?
The problem I think is that you didn't put what Pwn said, you put this - perk_slot(); when you should be putting this - maps\mapname::perk_slot();

dafuq this is weird idk my scripts always seem to mess up in weird ways???
AddPerkSlot()
{
// Add in MapName.gsc
// To thread right below maps\_zombiemode::main(); add
// level thread AddPerkSlot();
PerkTrigs = GetEntArray( "PerkSlots", "targetname" ); // Make sure the trigger has this targetname
for( i = 0; i < PerkTrigs.size; i++ )
PerkTrigs[i] thread WaitForTrigPerk();
}
WaitForTrigPerk()
{
self waittill( "trigger" );
// Increase perk slot - Not sure what you are using as a perk limit so..
// Ex. level.perkslots++;
self delete();
// Can have perk bottle delete - If you want msg me back for this. With how you linked the kvps.
}