Jump to content

Is there a way to modify a weapons damage via scripting?


Masterblaster9001

Recommended Posts

So, I was considering making some weapons as a starting mod, and I was wonder if there was a way to modify the damage multiplier setting for melee weapons (fDamageWeaponMult) whenever I attack.

 

basically, I need to know a way to activate a script on strike, and I really don't like the layout of the GECK wiki and wouldn't know where to start looking for it.

 

Okay, so I got a script that should work, only whenever I try to save the script, the GECK says this:

 

"SCRIPTS: Script 'WeapScript', line 7:

Invalid variable name 'fDamageWeaponMult'.

Compiled Script not saved!

 

So, I was wondering, how do I get it to let me declare and edit global game setting variables?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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