Jump to content

Latest NVSE version messes up script?


rausheim

Recommended Posts

So, the version before now of NVSE (or even maybe the latest patch of Fallout New Vegas) has messed up some of my scripts.

 

This script, used to work before the latest version of the both named above came out and if someone else knows what's wrong here, speak up! :D

 

I get a CTD each time I press one of the keys I'm using in the script when the item mentioned in the script is equipped.

 

scn 11AnatidaePilotableGakaVaksScript

ref me
float speedmod
float positionz
short references

begin onadd
set me to player
player.equipitem 11AnatidaeGakaVaksPlayable
end


begin gamemode
if getisflying == 1 && iskeypressed  200 == 1
set speedmod to 13
endif
end

begin gamemode
if getisflying == 1 && iskeypressed  54 == 1
set positionz to me.getpos z + 10
me.setpos z, positionz
endif
end

begin gamemode
if getisflying == 1 && iskeypressed  157 == 1
set positionz to me.getpos z - 10
me.setpos z, positionz
endif
end

Link to comment
Share on other sites

NVSE v1b10 is the stable release, so that code should run fine on that.

 

NVSE v2+ is still in beta, and Ian has been working on that function and related ones lately.

http://forums.bethsoft.com/index.php?/topic/1197681-beta-new-vegas-script-extender-nvse-v2/

Grab the latest beta from that thread, the problem may already have been reported and fixed.

If not, then report there... that's the whole point of a beta :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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