Guest user29 Posted July 10, 2012 Share Posted July 10, 2012 Instead of creating a new thread each time I need help with a script I'm just going to use this one. I know how to remove forms in a form list in the geck, but what's the proper way to clear a whole list through a script? I see there's a RemoveForm command but that would only remove one, I need them all cleared. Thanks for any help. Link to comment
Chase Roxand Posted July 10, 2012 Share Posted July 10, 2012 I ripped this from SexoutSlavery: label 1 if(ListGetCount SexoutSlaveryExtraMasters > 0) ListRemoveNth SexoutSlaveryExtraMasters 0 goto 1 endif Pretty much what I use everywhere. I believe prideslayer was going to add a function for that in the Extender, but I'm not sure if he ever got around to it. Link to comment
Guest user29 Posted July 10, 2012 Share Posted July 10, 2012 fantastic. I figured someone had done the leg work already and could share. Thanks. Link to comment
Halstrom Posted July 10, 2012 Share Posted July 10, 2012 fantastic. I figured someone had done the leg work already and could share. Thanks. Yep that's it, I clear some lists in SCR Sexhappening, it's a copy of Prideslayers Sexout Notify scripts. Link to comment
prideslayer Posted July 10, 2012 Share Posted July 10, 2012 I do intend to add, but no, so far have not gotten around to it. There's an existing (undocumented) NVSE function to do it (ListClear) but it doesn't actually work.. so don't use that. Link to comment
Guest user29 Posted October 3, 2012 Share Posted October 3, 2012 New one. What's the best way to force the player into third person? DisableplayerControls will force them into first person but I don't see a way to do third. Link to comment
astymma Posted October 3, 2012 Share Posted October 3, 2012 New one. What's the best way to force the player into third person? DisableplayerControls will force them into first person but I don't see a way to do third. if 1 == IsPC1stPerson ;in first person, force to 3rd TapControl 13 endif Link to comment
Guest user29 Posted October 3, 2012 Share Posted October 3, 2012 I did see TapControl while googling, but would that still work if the player has changed their key binding for 3rd person? Link to comment
astymma Posted October 3, 2012 Share Posted October 3, 2012 I did see TapControl while googling' date=' but would that still work if the player has changed their key binding for 3rd person? [/quote'] Yes, TapControl isn't a specific key, it's the control no matter which key the user bound to it. 13 is the POVControl (which I think defaults to "f"). Link to comment
astymma Posted October 3, 2012 Share Posted October 3, 2012 awesome thanks. Whenever you see a function with "Control" it affects the currently bound key to a control. Whenever you see "Key" it affects a specific key on the keyboard regardless of what it is bound to. It's why SmallerTalk checks for : if IsControlPressed 5 ; the currently bound activation control and not: if IsKeyPressed 18 ; the e key Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.