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

using gsc scripts in the main menu

broken avatar :(
Created 7 years ago
by death_reaper0
0 Members and 1 Guest are viewing this topic.
1,695 views
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 3 years ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
respect the dead

donates greatly appreciated :) paypal.me/F3ARxReaper666
discord server:
https://discord.gg/tsGHW99
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
ok so my problem is a kind of weird one, in my mod i use gobblegums but the current way of selecting them is quite anoying, however it NEEDS gsc scripts to work, since it uses setstat/getstat. it also needs the player to go into a map specificly for gobblegum selecting and various other things (like using the vats).
 what i want to know is if its possible to set it up from the main menu to open another small menu that lets you click on the gums to select (there will need to be a selection for all 5)

if this isnt possible, can someone help with a menu that can be opened in that map where players can click on their gum, and have it display the description and amount they currently have (that stuff is set up, just needs a way of showing in menu)
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
You can use stats in menu's as well. I use it to get stats a lot, just do:

Code Snippet
Plaintext
stat( 2500 )


To set stats you should try a little ( i havent used it in menus, i never needed it ). I found two things that might work:

Code Snippet
Plaintext
execnow "statset 263 1"; 

or

Code Snippet
Plaintext
statSetUsingTable( pstat, 1 );


Personally i've never managed to get a fully custom menu loaded and working from the main-menu. I solved this by replacing the credits with my custom menu.
Hope this helps
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 3 years ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
thanks, i'll try out something later, my main menu replaced multiplayer with the current gum sellection menu thing, and credits are gone, so i have a spare slot for it, just need to figure out how to open a part of a menu toclick on stuff

 
Loading ...