Papyrus Script for Console Commands

Post » Sun Jun 17, 2012 3:24 pm

Hello! I am very new to modding so please bear with me if this is a silly question. I've been trying to find the answer for a while now with no success so I was hoping someone here could help. :)

Basically, there is a command that I can already access via the console. I want the same effect added to my papyrus script. Some of the console commands are listed in the creation kit's wiki as having a Papyrus alternative, but after several hours of searching, I can't locate one for this particular command.

The console command is: fov(XX) <-- changes the player's field of vision

The wiki mentions a function SetCameraFOV(XX), but I think this is just referring to the console command as I have not managed to make it work in an actual script.

If anyone knows how to trigger this function from within Papyrus' scripting language, I would appreciate the help.
User avatar
Megan Stabler
 
Posts: 3420
Joined: Mon Sep 18, 2006 2:03 pm

Post » Sun Jun 17, 2012 10:50 pm

Bump! Because this forum moves fast <_<
User avatar
Miranda Taylor
 
Posts: 3406
Joined: Sat Feb 24, 2007 3:39 pm

Post » Sun Jun 17, 2012 4:54 pm

Nope.



No way to run console batch files, or access console functions from Papyrus. Unlike the previous scripting system, Papyrus has no relation to the console and doesn’t talk to it.
User avatar
Taylor Tifany
 
Posts: 3555
Joined: Sun Jun 25, 2006 7:22 am

Post » Mon Jun 18, 2012 2:58 am

Nope.

Oh buh. Is there an alternative anyone knows about for the field of vision command? Something that will allow me to temporarily change the field of vision through a script/quest/etc. in the creation kit?
User avatar
Brandi Norton
 
Posts: 3334
Joined: Fri Feb 09, 2007 9:24 pm

Post » Sun Jun 17, 2012 10:54 pm

Nothing I can find when looking through the Creation Kit wiki, I'm afraid.

Cipscis

EDIT:

Typically, if the developers didn't need to do something in the game that would require a native function, it won't be available to the scripting language. SKSE should eventually be able to help with that.

Cipscis
User avatar
Peter lopez
 
Posts: 3383
Joined: Mon Sep 10, 2007 5:55 pm

Post » Sun Jun 17, 2012 3:36 pm

Nothing I can find when looking through the Creation Kit wiki, I'm afraid.

Cipscis

EDIT:

Typically, if the developers didn't need to do something in the game that would require a native function, it won't be available to the scripting language. SKSE should eventually be able to help with that.

Cipscis

Thank you for the reply. I've spent the last several hours searching the Wiki for something like this with no luck, so you're probably right about it not being in there. I could have sworn the field of vision widened for werewolf form, though, or else the camera changed positions - probably just my eyes playing tricks on me, since I pulled the werewolf scripts and can only find things like setting the view to third person. I'll think of something else.

Not familiar with the Skyrim Script Extender. Is that something Bethesda releases/updates the creation kit with or is it a collection of player-made scripts for modders?
User avatar
JR Cash
 
Posts: 3441
Joined: Tue Oct 02, 2007 12:59 pm


Return to V - Skyrim