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

Perk powerup

broken avatar :(
Created 12 years ago
by Ege115
0 Members and 1 Guest are viewing this topic.
1,780 views
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 30 July 2013
Last active: 2 years ago
Posts
517
Respect
Forum Rank
Zombie Enslaver
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Ege115's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Ege115's Contact & Social LinksEge115
Hello everybody!

I have a question, I have perk powerups in my map, and I don't want them to be obtainable as soon as you touch the powerup, as you do with the regular powerups in waw.

Instead I want the perk powerups to be obtainable if the player walks to it, and then at the powerup it says, press (which button you are now using) to pick up perk.
I know that it has to be a trigger use.

I know the basic lines for that at the beginning of the script but I don't want to try to show it because, well I think you know all my mistakes I do with the code tags.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Hello everybody!

I have a question, I have perk powerups in my map, and I don't want them to be obtainable as soon as you touch the powerup, as you do with the regular powerups in waw.

Instead I want the perk powerups to be obtainable if the player walks to it, and then at the powerup it says, press (which button you are now using) to pick up perk.
I know that it has to be a trigger use.

I know the basic lines for that at the beginning of the script but I don't want to try to show it because, well I think you know all my mistakes I do with the code tags.

Essentially what you need to do is spawn a trigger and assign it with your hintstring, Then do add a waittill("trigger", who ); before the main code execution. Because your not showing your code, I can't say much more to help.
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 30 July 2013
Last active: 2 years ago
Posts
517
Respect
Forum Rank
Zombie Enslaver
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Ege115's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Ege115's Contact & Social LinksEge115
Hmm okey then, thanks for the help anyway, just don't want to make the code tag fail again so I try to figure out this myself.

Thanks anyway.

Post Merge: December 11, 2013, 03:22:03 pm
But any help is still appreciated, I just try different soultions about this.
Last Edit: December 11, 2013, 03:22:03 pm by Ege115

 
Loading ...