xdenkiteki Posted June 5, 2017 Share Posted June 5, 2017 Alright so I've been trying to attach this target condition to a magic effect. The intention is for the magic effect to initiate at 30% health. What I did waschoose condition function "GetActorValuePercent" then I chose parameter Health. This is where it got confusing and also where I think i made my mistake. At this point I'm looking for the "return value" I do not see this though. I do see the "value" though and in-between is the ==/<=/>= etc. So I assume I am meant to use the value, as I cannot find the return value anywhere. In the end it looks like this.Condition function parameter Value"GetActorValuePercent" "health" <= 0.30 Needless to say this didn't work. And If I am not mistaken the "value is either 1 or 0, true or false. Which leads me back to, how do I go about this target condition? Link to comment Share on other sites More sharing options...
lofgren Posted June 5, 2017 Share Posted June 5, 2017 That should work. Is the condition on the magic effect or the spell, and what type of spell is it? Link to comment Share on other sites More sharing options...
TheDungeonDweller Posted June 6, 2017 Share Posted June 6, 2017 (edited) I believe health as a condition function parameter is still broken in the CK64, just as it is on CK32. I don't know why that tiny little thing was never fixed. Stamina and Magicka work though. :teehee: Edited June 6, 2017 by TheDungeonDweller Link to comment Share on other sites More sharing options...
xdenkiteki Posted June 6, 2017 Author Share Posted June 6, 2017 Hello, the original spell was mistform, however I decided to only keep the visual effect and changed the option to. cloak self vampire drain unchecked the no area and no magnitude, and checked detrimental and hostile. Then I removed the original conditions and added my below 30% condition, whereby I attached it to a ring I'm working on. It did not work though x'D I'm thinking of just making it into a spell with a cooldown effect now. Link to comment Share on other sites More sharing options...
Urtho Posted June 6, 2017 Share Posted June 6, 2017 What is your "Run On" parameter in the lower drop down box? It should be set to "Player" so it runs on the player. You could also try to use the "GetHealthPercentage" function and set it to check the Player as well at <= 30% without a set parameter. Either or both should work for what you want to do. Link to comment Share on other sites More sharing options...
lofgren Posted June 6, 2017 Share Posted June 6, 2017 Move the condition from your magic effect to your enchantment. Conditions on magic effects are checked only before the effect is applied, so unless you equip the ring when you have less than 20% health it won't work. Conditions on the enchantment are checked once a second. Be aware that you will have to survive with less than 20% health for up to a second for the effect to kick in. The run on parameter should be set to subject. Health as a parameter works for this function. I don't know what that other guy is talking about. Link to comment Share on other sites More sharing options...
xdenkiteki Posted June 6, 2017 Author Share Posted June 6, 2017 Alright thank you everyone, the advice is much appreciated and I'm definitely closer. I used lofgren's advice, and the spell does activate, however aside from the visual effect, the actual effect doesn't function. I added the spell as a fire and forget lesser power and it works as intended, although I still can't make the cooldown work >< and aside from the difference between fire and forget and constant effect(on the ring) there is no difference. So I'm somewhat baffled as to how I should continue from here. Link to comment Share on other sites More sharing options...
TheDungeonDweller Posted June 7, 2017 Share Posted June 7, 2017 (edited) Health as a parameter works for this function. I don't know what that other guy is talking about.Alrighty then. The other guy knows it doesn't work for Oldrim CK, but the other guy made a mistake in thinking it meant all functions other than this one: http://www.creationkit.com/index.php?title=GetActorValue But the other guy knows you knew that and instead wanted to leave that out rather than correct him. The other guy knows for sure the majority of the CK64 bugs were not fixed, like the infamous GetItemCount(already tested by multiple people). However the other guy didn't state his post as fact. As for the OP, the other guy is sorry about that. He doesn't pretend to know everything but will point out any potential problems caused by the CK itself. Edited June 7, 2017 by TheDungeonDweller Link to comment Share on other sites More sharing options...
lofgren Posted June 7, 2017 Share Posted June 7, 2017 Yeah, I totally knew you were actually referring to a totally different function. Because I'm psychic like that. What is the get item count bug? Link to comment Share on other sites More sharing options...
xdenkiteki Posted June 7, 2017 Author Share Posted June 7, 2017 Solved: I had some conflict in some of the options of the magic effect, after I cleared those the spell activated at 30%HP or less as intended. Link to comment Share on other sites More sharing options...
Recommended Posts