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

Turning on Perk Power

broken avatar :(
Created 9 years ago
by GerardS0406
0 Members and 1 Guest are viewing this topic.
1,589 views
broken avatar :(
×
broken avatar :(
Location: usMissouri
Date Registered: 6 August 2013
Last active: 6 months ago
Posts
513
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
My Contact & Social Links
More
Signature
Projects:
Unnamed Project: 5%
Mutliple Downloadable Items for Mappers: (Released after map releases)
×
GerardS0406's Groups
GerardS0406's Contact & Social LinksGerardS0406Gerard0406GerardS0406MrGerard0406
Is there a way (say after completing part of an easter egg) that a certain perk's power can turn on?

Additional Info: I am using HarryBo21's Perks.
Last Edit: August 13, 2015, 01:56:06 am by GerardS0406
Marked as best answer by GerardS0406 9 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 3 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
normally you could just set a flag value saying which machine to turn on, but by the way it looks like he based all of this scripts off of the flag("electricity_on");  so you cant just do flag_set("whatever_the_flag_is"); although he made a method to activate a machine without the power. this can be done using the method

Code Snippet
Plaintext
harrybo21_perks_ignore_power("perk");


"perk" being the name of the specialty_perk that you want to have activated.
also this method needs to be threaded on the level

Code Snippet
Plaintext
level thread harrybo21_perks_ignore_power("specialty_quickrevive");

this example will activate quick revive without the need for the power
broken avatar :(
×
broken avatar :(
Location: usMissouri
Date Registered: 6 August 2013
Last active: 6 months ago
Posts
513
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
My Contact & Social Links
More
×
GerardS0406's Groups
GerardS0406's Contact & Social LinksGerardS0406Gerard0406GerardS0406MrGerard0406
Thanks
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21'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.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
normally you could just set a flag value saying which machine to turn on, but by the way it looks like he based all of this scripts off of the flag("electricity_on");  so you cant just do flag_set("whatever_the_flag_is"); although he made a method to activate a machine without the power. this can be done using the method

Code Snippet
Plaintext
harrybo21_perks_ignore_power("perk");


"perk" being the name of the specialty_perk that you want to have activated.
also this method needs to be threaded on the level

Code Snippet
Plaintext
level thread harrybo21_perks_ignore_power("specialty_quickrevive");

this example will activate quick revive without the need for the power
Im impressed Buttkicker ;)

This guy seems to know my stuff better than me? lol
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 3 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
Im impressed Buttkicker ;)
thanks man :)

This guy seems to know my stuff better than me? lol
lol the funny thing is ive never actually used your perks before  ::)

 
Loading ...