Jump to content

SetWeaponAmmo NVSE function is broken?


HeroinZero

Recommended Posts

If I try something like

SetWeaponAmmo AmmoList50MG Weap10mmPistol

or

Weap10mmPistol.SetWeaponAmmo AmmoList50MG

in theory it should make 10 mm pistol use AM rifle ammo but GECK just refuses to compile script with this line, am I doing something wrong?

Link to comment
Share on other sites

Nope, you're not doing anything wrong (in the first line anyway - the second one is wrong). The function was added by FOSE originally and doesn't work for NV. It's probably something to do with a weapon's ammo being a formlist in NV, as opposed to a single form in FO3. Edited by PushTheWinButton
Link to comment
Share on other sites

I'm unfamiliar with the function, but the second way you type it (ref syntax) would not work because you're trying to use it on a base form.

SetWeaponAmmo AmmoList50MG, Weap10mmPistol

compiles fine for me.

What kind of script are you trying to use it in?

 

Edit: ninja'd. I have no idea if it works in-game, but compiling it seems to work.

Edited by DoctaSax
Link to comment
Share on other sites

  • Recently Browsing   0 members

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