Creation Kit Papyrus: Magic Effects

Post » Sun Jan 26, 2014 1:40 pm

Hi all,

I am working on a mod, And get pretty much everything work nicely. Except I am still unable to figure how to handle Magic Effects in the papyrus scripts.

Most biggest issue for me right now is that I have a developing Magic Effect -- curse if you will -- that has methods to check on the status of the curse. However in most cases I just have the player reference or player actor to use. If there are way to call Magic Effects methods without setting the effect to helper script property? I ran around the problem by setting property to the helper scripts that store the instance of the curse but that is pretty messy. Is there any other way to solve this?

Second problem I have is that I am trying to create morality system that certain acts would drop your morality. Killing your spouse, friend so for.. Actor does not seem to have any method such as OnKillEvent(actor). If I understood correct from what I have been able to gather from the internet is that the creation kit way to do this would be to infect everyone with magic effect that receives OnDeath(actor). But that leaves me bit puzzled how to infect everyone so that I do not need to worry about it? I have made cloak spell that basically does this but the interval of the pulse and radius seems not realiable enough to do this.

Creation Kit is really nice tool for doing things but when it comes to google and information. It seems that spesific answers are really hard to come by :/

Thanks,

Flopy

User avatar
NAtIVe GOddess
 
Posts: 3348
Joined: Tue Aug 15, 2006 6:46 am

Return to V - Skyrim