Jump to content

General Scripting Help (Forcing third person view)


Guest user29

Recommended Posts

Guest user29

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

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
  • 2 months later...
Guest user29

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

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

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...