UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Extra perk slot?

HOT
broken avatar :(
Created 10 years ago
by FreeFall
0 Members and 1 Guest are viewing this topic.
7,242 views
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 24 June 2014
Last active: 5 years ago
Posts
212
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
FreeFall's Groups
FreeFall's Contact & Social Linksfreefall1151joebob59FreeFall115
Remove the self delete; (delete is actually a function which should be written like so: delete()). No idea why you'd want it there.
Ok ,so I removed the self delete and it gives me the same error as before where it says it's an unknown function
broken avatar :(
×
broken avatar :(
Senpai
Location: us
Date Registered: 28 September 2013
Last active: 3 years ago
Posts
605
Respect
Forum Rank
Zombie Enslaver
Primary Group
Box Mappers Elite
My Groups
More
My Contact & Social Links
More
×
arceus's Groups
Box Mappers Elite
Box Mappers Elite
arceus's Contact & Social LinksarceusNT
do you have a perk_limit stated because that my be the problem
broken avatar :(
  • steviewonder87
  • Deleted Member
×
broken avatar :(
steviewonder87
This user is deleted :(
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?

 :derp:

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(); 
broken avatar :(
×
broken avatar :(
Senpai
Location: us
Date Registered: 28 September 2013
Last active: 3 years ago
Posts
605
Respect
Forum Rank
Zombie Enslaver
Primary Group
Box Mappers Elite
My Groups
More
My Contact & Social Links
More
×
arceus's Groups
Box Mappers Elite
Box Mappers Elite
arceus's Contact & Social LinksarceusNT
???

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?

 :derp:

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!!!!!!!!!!!!!!!
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 24 June 2014
Last active: 5 years ago
Posts
212
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
FreeFall's Groups
FreeFall's Contact & Social Linksfreefall1151joebob59FreeFall115
???

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?

 :derp:

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();
Thanks for clarifying this, i will try it out later and see if it works. :)
broken avatar :(
  • steviewonder87
  • Deleted Member
×
broken avatar :(
steviewonder87
This user is deleted :(
wha...wha.. what?!?!?!?! stevie being helpful!?!??! WHAT HAS THIS WORLD COME TO!!!!!!!!!!!!!!!




 :facepalm:
broken avatar :(
×
broken avatar :(
Senpai
Location: us
Date Registered: 28 September 2013
Last active: 3 years ago
Posts
605
Respect
Forum Rank
Zombie Enslaver
Primary Group
Box Mappers Elite
My Groups
More
My Contact & Social Links
More
×
arceus's Groups
Box Mappers Elite
Box Mappers Elite
arceus's Contact & Social LinksarceusNT
just look at your posts on zm
broken avatar :(
  • steviewonder87
  • Deleted Member
×
broken avatar :(
steviewonder87
This user is deleted :(
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...
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 4 days ago
Posts
3,997
Respect
1,024Add +1
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Alright, no need for off-topic comments anymore
broken avatar :(
×
broken avatar :(
Senpai
Location: us
Date Registered: 28 September 2013
Last active: 3 years ago
Posts
605
Respect
Forum Rank
Zombie Enslaver
Primary Group
Box Mappers Elite
My Groups
More
My Contact & Social Links
More
×
arceus's Groups
Box Mappers Elite
Box Mappers Elite
arceus's Contact & Social LinksarceusNT
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...
ok u do got a point there, ill stop
Last Edit: September 24, 2014, 03:48:51 pm by arceus
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 24 June 2014
Last active: 5 years ago
Posts
212
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
FreeFall's Groups
FreeFall's Contact & Social Linksfreefall1151joebob59FreeFall115
???

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?

 :derp:

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();
Ok, the map started up, but it there's even more problems. :'(
1. I spawned at the info_player_start
2. No zones were activated and round 1 wouldn't even start unless I hit the trigger for the perk, then re spawned at the initial spawn point, and then the game started at round 1
3. The zombies just stood there.
4. I started of with 0 points and couldn't gain any,even when killing a zombie.

I have no idea what I did wrong.
broken avatar :(
×
broken avatar :(
Senpai
Location: us
Date Registered: 28 September 2013
Last active: 3 years ago
Posts
605
Respect
Forum Rank
Zombie Enslaver
Primary Group
Box Mappers Elite
My Groups
More
My Contact & Social Links
More
×
arceus's Groups
Box Mappers Elite
Box Mappers Elite
arceus's Contact & Social LinksarceusNT
dafuq this is weird idk my  scripts always seem to mess up in weird ways???
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 24 June 2014
Last active: 5 years ago
Posts
212
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
FreeFall's Groups
FreeFall's Contact & Social Linksfreefall1151joebob59FreeFall115
dafuq this is weird idk my  scripts always seem to mess up in weird ways???
Did this script ever work for you?
broken avatar :(
×
broken avatar :(
Senpai
Location: us
Date Registered: 28 September 2013
Last active: 3 years ago
Posts
605
Respect
Forum Rank
Zombie Enslaver
Primary Group
Box Mappers Elite
My Groups
More
My Contact & Social Links
More
×
arceus's Groups
Box Mappers Elite
Box Mappers Elite
arceus's Contact & Social LinksarceusNT
i haven't been able to and another power up i added for some one made all the power ups get picked up the second it drops zoo idk whats wrong with my scripts
broken avatar :(
×
broken avatar :(
Location: usYork, SC
Date Registered: 15 March 2014
Last active: 5 years ago
Posts
214
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
WaW Scriptor
Signature
WaW Scriptor
×
PROxFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
PROxFTW's Contact & Social LinksPROxFTWPROxFTWPROxFTWPROxFTW
Got bored and saw as you were having a bit of problems. Try this. If you don't know the variable for the perk limit then if you are using Bams I can figure it out otherwise you will need to. If you are using a player variable you will need to make sure it is setup for an all players variable down where it says to add the variable for the perk limit.
Code Snippet
Plaintext
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.
}
Last Edit: September 24, 2014, 11:54:31 pm by PROxFTW

 
Loading ...