12wan Posted September 7, 2018 Share Posted September 7, 2018 Who faced this problem: in the script GlobalVariable Property RND_HungerPoints Auto GlobalVariable Property RND_HungerLevel01 Auto if RND_HungerPoints.GetValue () <RND_HungerLevel01.GetValue () Debug.Notification ("HungerPoints" + RND_HungerPoints.GetValue ()) Debug.Notification ("HungerLevel01" + RND_HungerLevel01.GetValue ()) endIf RND_HungerPoints.GetValue () shows 0 and RND_HungerLevel01.GetValue () shows 0 although from the console it turns out that: RND_HungerPoints = 38.5 RND_HungerLevel01 = 5 What could be the problem? I'm doing a mod and I want it to work with RND, but I can not get the values of any global variables. I ask for help. Thanks in advance. Link to comment Share on other sites More sharing options...
dactyl Posted September 9, 2018 Share Posted September 9, 2018 Did you auto fill the script properties for RND_HungerPoints and RND_HungerLevel01 in the Creation Kit? Go to item that has script attached, click the attached papyrus script, then click the "Properties" button, and then click "Auto-Fill All" in Properties window. (make sure the variables were assigned to something and not left as "<Default>") Link to comment Share on other sites More sharing options...
Recommended Posts