Closed Orelarsen closed 1 year ago
When I use it in my script it crashes with message : LUA error: ...anomaly 1.5.2\gamedata\scripts\charge_gauss_rifle.script:34: attempt to call method 'SetHitPower' (a nil value)
Edit: this problem happens with all of these functions
try obj:cast_Weapon():SetHitPower(4.2)
Thanks a million, mister demonized.
When I use it in my script it crashes with message : LUA error: ...anomaly 1.5.2\gamedata\scripts\charge_gauss_rifle.script:34: attempt to call method 'SetHitPower' (a nil value)