StupidWeasel Posted April 1, 2014 Share Posted April 1, 2014 Hello there everyone,I'd like to start an effectshader when player character is in third person & stop it when they're in first person, but I'm dreadfully new to both the Creation Kit and Papyrus and can't figure out the relevant event.I know I am able to check the player's current perspective with PlayerRef.GetAnimationVariableBool("IsFirstPerson"). Looking through the Papyrus Events - I don't see anything obvious, but I likely can't see the wood for all the trees. Is there a specific event that'd be triggered when the player switches perspective (either directly, or forced by a cutscene).Thank you in advance for any help :D Link to comment Share on other sites More sharing options...
IsharaMeradin Posted April 1, 2014 Share Posted April 1, 2014 I have just the thing for you.http://www.nexusmods.com/skyrim/mods/25936 Link to comment Share on other sites More sharing options...
StupidWeasel Posted April 1, 2014 Author Share Posted April 1, 2014 Thank you for the reply IsharaMeradin. For what I'm wanting to do (specifically, add a visual effect to the player when their in third person - nerf it in first) I'm assuming I'd need to start/stop the EffectShader within the the magic effect discussed in step 2? I'll give that a try now and come beg more help if things don't go as planned :wink: Link to comment Share on other sites More sharing options...
IsharaMeradin Posted April 1, 2014 Share Posted April 1, 2014 Sort of but not really. It would be within that step, yes. But you would need to start the EffectShader via script when the effect finishes and stop the EffectShader when the effect starts. This is because of the condition on the ability that triggers the effect. The condition requires the player to be in 1st person. I suppose you might be able to flip the value from == 1 to == 0 on the condition IsPC1stPerson on the ability (step 3) so that it triggers when going into 3rd person rather than into 1st person. But I have not tested that. If flipping the value on the condition works, then you might be able to put your EffectShader within the effect itself rather than scripting it. I don't know if that is possible as I have not dealt with EffectShaders at all. Link to comment Share on other sites More sharing options...
JobVanDam Posted April 2, 2014 Share Posted April 2, 2014 Dude, you don't even need scripts. Use a condition function in your enchantment and use IsPClstPerson(). returns a 1 for true, 0 for false. Link to comment Share on other sites More sharing options...
Recommended Posts