Modding Help Looking for world.spawnProjectile()/self:fireProjectile() help

Discussion in 'Starbound Modding' started by Echo710, Jan 12, 2020.

  1. Echo710

    Echo710 Scruffy Nerf-Herder

    Basically, I want to use world.spawnProjectile() in a piece of gun LUA to mimic self:fireProjectile(), as in having the first function spawn in a projectile with the damage set by the gun (like self:fireProjectile), but with different inaccuracies.

    Help?

    Also, if anyone knows where the self:fireProjectile() function is located at, that would also be greatly appreciated.

    Ignore this, some helpful people on the Starbound discord helped me solve this issue.
     
    Last edited by a moderator: Jan 12, 2020

Share This Page