Jump to content

fighter:addWeapon bug


ivakam

Recommended Posts

I tried to make multigun fighter, so i done next:

        local fighter = GenerateFighterTemplate(random():createSeed(), weapontype, dps, tech, Rarity(rarity), Material(material))

local gun = fighter:getWeapons()

fighter:addWeapon(gun)

and server becomes inert as a stone, logs stay clear (i have to kill server process). Other options works well including modification of weapon. Please make some error message or replace existing weapon, or allow multigun. This will save a lot of modder`s legs from being shot.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...