Dialog before class selection
#2

TL;DR so I'll just go with the title.

Under OnPlayerRequestClass, TogglePlayerSpectating on. This will hide class selection. You can then set a dialog. When they respond to the dialog, you can toggle spectating off and they will return to class selection.

If you don't want them to return to class selection, call SpawnPlayer when OnPlayerRequestClass is called again. You may need to use SetSpawnInfo if the player didn't select a class.
Reply


Messages In This Thread
Dialog before class selection - by admiralspeedy - 23.02.2014, 23:38
Re: Dialog before class selection - by MP2 - 24.02.2014, 00:43
Re: Dialog before class selection - by admiralspeedy - 24.02.2014, 01:53
Re: Dialog before class selection - by Threshold - 24.02.2014, 03:33
Re: Dialog before class selection - by AceFlyer - 24.02.2014, 04:00
Re: Dialog before class selection - by Threshold - 24.02.2014, 06:04
Re: Dialog before class selection - by AceFlyer - 24.02.2014, 06:46
Re: Dialog before class selection - by MP2 - 24.02.2014, 07:05
Re: Dialog before class selection - by Threshold - 24.02.2014, 15:40
Re: Dialog before class selection - by admiralspeedy - 24.02.2014, 21:31

Forum Jump:


Users browsing this thread: 1 Guest(s)