Jump to content

ref.SetVariable Command In GECK


NukaCooler

Recommended Posts

I'm trying to use the Setvariable command added by NVSE, but nothing seems to be working.

 

scn 0000MATNPerkActivatorQSTSCPT
short DoOnce
begin GameMode
if DoOnce == 0
set DoOnce to 1
short HealSleep == con_GetGameSetting fHealingRateSleeping
short Heal6 == con_GetGameSetting fADVHealRateEndurance6Bonus
short Heal7 == con_GetGameSetting fADVHealRateEndurance7Bonus
short Heal8 == con_GetGameSetting fADVHealRateEndurance8Bonus
short Heal9 == con_GetGameSetting fADVHealRateEndurance9Bonus
short Heal10 == con_GetGameSetting fADVHealRateEndurance10Bonus
0000MATNPerkActivatorREF.SetVariable "Variable05", HealSleep
0000MATNPerkActivatorREF.SetVariable "Variable06", Heal6
0000MATNPerkActivatorREF.SetVariable "Variable07", Heal7
0000MATNPerkActivatorREF.SetVariable "Variable08", Heal8
0000MATNPerkActivatorREF.SetVariable "Variable09", Heal9
0000MATNPerkActivatorREF.SetVariable "Variable10", Heal10
StopQuest 0000MATNPerkActivatorQST
endif
end

Gives error Script command "0000MATNPerkActivatorREF.SetVariable" not found

 

Another script gives Unexpected end of line in line 35 (con_SetGameSetting fHealingRateSleeping 0000MATNPerkActivatorREF.GetVariable "Variable05")

 

 

Link to comment
Share on other sites

  • 2 months later...
  • Recently Browsing   0 members

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