SphereCommunity
help button - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: help button (/Thread-help-button)



help button - Soulless - 02-10-2013 03:22 PM

whats the trigger that i can use to change what the "help button" on the paperdoll does? i have a different dialog i'd like it to go to.


RE: help button - Mordaunt - 02-10-2013 03:53 PM

@PlayerHelpButton I beleive


Edit: Actually I looked at my custom script for it and all I can see is a function called helppage that calls my dialog and it does work off that button


RE: help button - Soulless - 02-10-2013 04:05 PM

That appears to not have worked for me. i tried on=@PlayerHelpButton and on=@UserHelpButton


RE: help button - Mordaunt - 02-10-2013 04:18 PM

Yep look here it is, dunno why i didn't check it before:

sphere_menu.scp
Code:
[FUNCTION HelpPage]
// HelpPage is executed whenever someone presses the "HelpPage" button
MENU MENU_PAGEGM

all you need is to override the function


RE: help button - Soulless - 02-10-2013 04:28 PM

awesomeness, that worked. using the SCP help menu. looks sleek. thanks Mordaunt.