Jump to content

[LE] RND problem


12wan

Recommended Posts

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...