lofgren Posted January 3, 2015 Share Posted January 3, 2015 That's what I thought. Link to comment Share on other sites More sharing options...
Kerberus14 Posted January 4, 2015 Share Posted January 4, 2015 (edited) Scriptname TrainingFormula extends ObjectReference Actor Property PlayerRef auto float count Event oninit() count = 0 while PlayerRef.GetActorValue("Stamina")<=PlayerRef.GetBaseActorValue("Stamina") if count==0 float y=PlayerRef.GetBaseActorValue("Stamina") float x = 1 count=1 endif if PlayerRef.GetActorValue("Stamina")<y float x = x + (y-PlayerRef.GetActorValue("Stamina")) float y = PlayerRef.GetActorValue("Stamina") endif if y<PlayerRef.GetActorValue("Stamina") float y = PlayerRef.GetActorValue("Stamina") endif if x>PlayerRef.GetLevel()*100 PlayerRef.SetActorValue("Stamina",PlayerRef.GetBaseActorValue("Stamina")+2) float x = 1 endif endwhile endeventHow can I make this work correctly? Explanation: When I lose stamina, I want the lost value to be recorded inside a variable, making it add up every time it does that. When that variable goes over a certain value some other variable will be changed. and  2. How can I find out what NPC's are in a certain Encounter Zone?For example, I want to know what NPC's are in the below Encounter Zone.http://i.gyazo.com/84f76d7b397ead4b20f74b2f82b90a27.png Edited January 4, 2015 by Kerberus14 Link to comment Share on other sites More sharing options...
Asterra Posted January 5, 2015 Share Posted January 5, 2015 Looking for a way of telling when the player has opened / closed showracemenu. (Specifically, to use as a tell for when their head shape may have changed.) Thanks. Link to comment Share on other sites More sharing options...
Mattiewagg Posted January 5, 2015 Author Share Posted January 5, 2015 Looking for a way of telling when the player has opened / closed showracemenu. (Specifically, to use as a tell for when their head shape may have changed.) Thanks.I believe this is the correct function for this, without SKSE or some crazy Papyrus stuff :PÂ http://www.creationkit.com/OnRaceSwitchComplete_-_Actor Link to comment Share on other sites More sharing options...
Asterra Posted January 5, 2015 Share Posted January 5, 2015 Â Looking for a way of telling when the player has opened / closed showracemenu. (Specifically, to use as a tell for when their head shape may have changed.) Thanks.I believe this is the correct function for this, without SKSE or some crazy Papyrus stuff :tongue:Â Thanks. Yeah, what a weirdly specific function. Since it seems to come packaged with some unpredictable behavior, I'd be more than happy to know what SKSE has up its sleeve. (My mods pretty much demand it anyway.) Link to comment Share on other sites More sharing options...
Kerberus14 Posted January 5, 2015 Share Posted January 5, 2015 So.. nobody knows? :< Link to comment Share on other sites More sharing options...
Kerberus14 Posted January 6, 2015 Share Posted January 6, 2015 (edited) Fixed it. Woopsie. The questions I had above still stand tho =p. Edited January 6, 2015 by Kerberus14 Link to comment Share on other sites More sharing options...
lofgren Posted January 6, 2015 Share Posted January 6, 2015 Looking for a way of telling when the player has opened / closed showracemenu. (Specifically, to use as a tell for when their head shape may have changed.) Thanks.You can register for menu events using skse. Link to comment Share on other sites More sharing options...
Kerberus14 Posted January 6, 2015 Share Posted January 6, 2015 (edited) Can anyone give me the link to the CK where all the sourcetypes are? I have been searching for it for almost 1 hour and I haven't found it.Closest I got was this: http://www.creationkit.com/GetWeaponType_-_Weaponhttp://www.creationkit.com/GetEquippedItemType_-_Actor Edited January 6, 2015 by Kerberus14 Link to comment Share on other sites More sharing options...
Mattiewagg Posted January 6, 2015 Author Share Posted January 6, 2015 Can anyone give me the link to the CK where all the sourcetypes are? I have been searching for it for almost 1 hour and I haven't found it.Closest I got was this: http://www.creationkit.com/GetWeaponType_-_Weaponhttp://www.creationkit.com/GetEquippedItemType_-_ActorThose are it AFAIK. Source types for what? Link to comment Share on other sites More sharing options...
Recommended Posts