Active magic effect with a variable length

Post » Mon Mar 10, 2014 4:30 pm

I want to apply a magic effect with a variable length, e.g. anything from 1 to 100 seconds, to a character. I could make a magic effect with the length of 1 second, 2, 3, ..., 100, but that's very cumbersome approach.

I've been thinking to make instead just a 1, 5, 10, 20, and 50 seconds long magic effect and then use a Papyrus command like 'RemoteCast' to cast one 10 second magic effect and two 1 second magic effects on the character to simulate a 12 second magic effect. Is that possible?

User avatar
Jack Bryan
 
Posts: 3449
Joined: Wed May 16, 2007 2:31 am

Post » Mon Mar 10, 2014 8:45 am

Don't know for sure, but I don't think you can cast spells to run after each other unless you cast them when you want to apply them.

You'll probably have to use a SKSE SetDuration function to achieve the results dynamically.

If you don't want to use SKSE (why not?), you'll probably have to create those 100 effects and spells.

User avatar
Juan Cerda
 
Posts: 3426
Joined: Thu Jul 12, 2007 8:49 pm

Post » Mon Mar 10, 2014 1:17 pm

Hm, the command 'SetDuration' is not in the list of Papyrus commands in the wiki of the CS:

http://www.creationkit.com/Category:Papyrus

Is it a command that was introduced in the new 1.70 alpha version?

User avatar
Far'ed K.G.h.m
 
Posts: 3464
Joined: Sat Jul 14, 2007 11:03 pm

Post » Mon Mar 10, 2014 4:29 pm

You're looking for http://www.creationkit.com/SetNthEffectDuration_-_Spell - which was already part of last SKSE build, so 1.7 isn't necessary.

User avatar
Timara White
 
Posts: 3464
Joined: Mon Aug 27, 2007 7:39 am


Return to V - Skyrim

cron