shavkacagarikia Posted May 27, 2018 Share Posted May 27, 2018 It will, no need to write == true Link to comment Share on other sites More sharing options...
CDante Posted August 12, 2018 Share Posted August 12, 2018 I noticed this recently and wondering if there's a solution yet. or is there really a difference between Game.GetPlayer().GetAnimationVariableBool( "IsFirstPerson" ) and Game.GetPlayer().GetAnimationVariableBool( "IsFirstPerson" ) == True ? cause there really shouldn't be. :)last time the former was working for me was with this april fools mod: https://www.nexusmods.com/fallout4/mods/30880so about two months before OP started this topic it was working fine with the latest version of the game. I am always using the latest version and I can confirm it is not working now. Link to comment Share on other sites More sharing options...
shavkacagarikia Posted August 13, 2018 Share Posted August 13, 2018 I guess its some kind of engine bug. There isnt any difference in those two boolean checks Link to comment Share on other sites More sharing options...
Evangela Posted August 13, 2018 Share Posted August 13, 2018 I do explicit boolean checks(== true) so I don't confuse myself lol. Link to comment Share on other sites More sharing options...
Flip777 Posted March 8, 2019 Share Posted March 8, 2019 (edited) Hey Flipdeezy, how are you? Damn, silly of me, I didn't even try that - stupidly confident that a bool would return true or false without stating it... :geek: (Skyrim habits are hard to shake... :rolleyes:) I'm not at my modding rig right now, but I'll try that first chance! Thanks! I'm doing well! hope you are also Just a heads up if you ever see this, they broke it again. After riding in a vertibird it pretty much kills GetAnimationVariableBool("IsFirstPerson") ==true in fact, even if you set it back SetAnimationVariableBool("IsFirstPerson", True) it just stops working in third person instead haha. They flat out destroyed whatever was going on under the hood to check for those variables on the perspective change. I have pretty much thrown my hands up and said f*** it with this game lol, they broke most of my mods with updates and I have no desire to fix them anymore. Anyway hope all is well :smile: Edited March 8, 2019 by FLipdeezy Link to comment Share on other sites More sharing options...
DieFeM Posted March 9, 2019 Share Posted March 9, 2019 An alternative way to check for first person camera would be using a magic effect to change a script property or a global variable using the condition IsPC1stPerson. Link to comment Share on other sites More sharing options...
registrator2000 Posted March 28, 2019 Share Posted March 28, 2019 For those using F4SE you can now call Game.GetCameraState() to get the camera state with the latest F4SE release. For those not on F4SE you can try the following as a workaround: Game.GetPlayer().HasDetectionLOS(Game.GetPlayer())In first person the camera has no line-of-sight to the player and in third person the opposite is true. I used this a long, long time ago, not sure if it still works in the current version. Link to comment Share on other sites More sharing options...
Recommended Posts