Client Side Scripting, ForcePowers question?
I'm looking for info on updating the forcepowers for the player, and what I need to do to set them. I've written a favorites script to load forcepowers on keybinds, but it's not triggering the change on the server, my forcepowers from the console shows my newly selected list of powers (looks like the contents of the .fcf files), but when I respawn it doesn't apply them. I watched the console with the developer mode on, and changed them by hand, and it did basicly the same thing. The only difference I could find, was the cl_paused variable being set to 1 when they enter the menu system, and reseting to 0 when I applied the prefs.
So my question really is a few questions, and an answer to any of them would set me in the right direction.
First off, is there a way of setting forcepowers from the console that someone else knows of?
Is there a way to open and close a menu from a console command? (I'd bet that this would trigger the update needed)
Is there a way to execute the uiscript function that the "Apply" button is doing on mousedown, from the console?
Is there a way to get the cl_paused variable to toggle on from the console? Again, I'd bet that the unpausing is setting the info on the server.
Any help on this would be appreciated.