SetLevel?

Post » Wed Jun 20, 2012 2:39 am

I need to be able to LOWER the player's level with a mod I am working on, but there doesn't seem to be a SetLevel function anymore. The console command is in the game, but I don't see anything in the function reference for scripting use. I could have sworn that in Oblivion, at least, there was a function that allowed you to script in console commands such as SetLevel, but I can't find that either.

Do either of these functions exist in the CK? Is there any way I could lower a player's level via a script?
User avatar
Elisabete Gaspar
 
Posts: 3558
Joined: Thu Aug 31, 2006 1:15 pm

Post » Wed Jun 20, 2012 6:29 am

I was looking for this as well, but it appears that the scripting equivalent was removed. The GECK had this functionality.
User avatar
stephanie eastwood
 
Posts: 3526
Joined: Thu Jun 08, 2006 1:25 pm

Post » Wed Jun 20, 2012 10:15 am

I am wondering if such a function is available in the SKSE, but I am not entirely sure how to use that as a modder.
User avatar
Arnold Wet
 
Posts: 3353
Joined: Fri Jul 07, 2006 10:32 am

Post » Wed Jun 20, 2012 5:09 am

I requested it.

In the future if there's a function you need(I suspect alot of them will come from oblivion) that you're sure is not already in the game, go ahead and request for it.
User avatar
Roberto Gaeta
 
Posts: 3451
Joined: Tue Nov 06, 2007 2:23 am

Post » Wed Jun 20, 2012 5:47 am

http://www.creationkit.com/SetLevel does exist, but the game world isn't adjusted by using that function any more. You might need decrementPCSkill instead, which doesn't exist, so you'd need to ask the SKSE guys to add it.
User avatar
barbara belmonte
 
Posts: 3528
Joined: Fri Apr 06, 2007 6:12 pm

Post » Tue Jun 19, 2012 9:41 pm

http://www.creationkit.com/SetLevel does exist, but the game world isn't adjusted by using that function any more. You might need decrementPCSkill instead, which doesn't exist, so you'd need to ask the SKSE guys to add it.

I don't need the game world adjusted since my mod will replace the character's level back to what it was anyway, I just need to be able to strip their level so they don't double their level through my mod.

How exactly would I use the SetLevel function if it's still in the game? Or are you merely talking about the Console Command which is of no use to me in this situation?

And again, if anyone could point me toward the direction for information on using SKSE as a modder with a function reference, I would be most appreciative.
User avatar
Lucky Girl
 
Posts: 3486
Joined: Wed Jun 06, 2007 4:14 pm

Post » Tue Jun 19, 2012 10:12 pm

Just found this

QF_DA03_0001BFC4
...

;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN CODE
;NOT NORMALLY CALLED -
;moves him to a Wilderness Encounter near Haemar's Shame
Game.GetPlayer().moveto(DA03TEMPMoveMarker)
;normally would set level
;Game.GetPlayer().setlevel(12)
;END CODE
EndFunction
;END FRAGMENT

But it seems setlevel does not work and it was removed
User avatar
Latisha Fry
 
Posts: 3399
Joined: Sat Jun 24, 2006 6:42 am


Return to V - Skyrim

cron