Larian Banner
Previous Thread
Next Thread
Print Thread
Joined: Sep 2016
journeyman
OP Offline
journeyman
Joined: Sep 2016
So I created a new status entry (DEFLECTION) in the stats editor. But when I try to reference that status in the script editor I get:

Quote
Failed to fill variable data. Status 'DEFLECTION' is unknown Statuses.gameScript

Can't save or build the file, even after reloading the editor, and the 'Reload object lists' button isn't helping. The text DEFLECTION is referenced like any other status:

Quote
Set(_Result, DEFLECTION)

...but the text does not turn blue when typed into the editor, like a base game status like BURNING would. Anyone know what I need to do to change this?

Joined: Aug 2017
D
member
Offline
member
D
Joined: Aug 2017
Originally Posted by smarmbot
So I created a new status entry (DEFLECTION) in the stats editor. But when I try to reference that status in the script editor I get:

Quote
Failed to fill variable data. Status 'DEFLECTION' is unknown Statuses.gameScript

Can't save or build the file, even after reloading the editor, and the 'Reload object lists' button isn't helping. The text DEFLECTION is referenced like any other status:

Quote
Set(_Result, DEFLECTION)

...but the text does not turn blue when typed into the editor, like a base game status like BURNING would. Anyone know what I need to do to change this?


Bump. Would like to know this too. Ran into the same problem, did you find a solution?

Picture of problem = https://imgur.com/a/l04iB

Joined: Sep 2017
Location: Belgium, Ghent
L
stranger
Offline
stranger
L
Joined: Sep 2017
Location: Belgium, Ghent
Hi smarmbot,

Are you by any chance trying to use the status in the Statuses.gameScript, which is part of the shared mod? I suspect it's due to the fact that you're trying to use the status in the Shared mod, while you created it in your own mod. If that's indeed the case you can try creating a new script in your mod and using the status in that script.

Joined: Sep 2016
journeyman
OP Offline
journeyman
Joined: Sep 2016
Hey, sorry, I should've come back to clarify that this problem cleared itself up. I didn't realize that you have to restart the editor and reload your project before the script editor will recognize new stats you've created.

Joined: Sep 2016
journeyman
OP Offline
journeyman
Joined: Sep 2016
new *statuses* I mean

Joined: Sep 2017
M
member
Offline
member
M
Joined: Sep 2017
OR you can use reload stats and you dont have to eeload complete editor hehe

Joined: Sep 2016
journeyman
OP Offline
journeyman
Joined: Sep 2016
Oh, word?

Joined: Sep 2017
M
member
Offline
member
M
Joined: Sep 2017
Tools > Reload Stats smile


Moderated by  Larian_Koala, Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5