Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Nuclear Throne Together

An online multiplayer mod for Nuclear Throne. · By YellowAfterlife

Editing properties of a weapon?

A topic by snaldo created Nov 21, 2020 Views: 266 Replies: 1
Viewing posts 1 to 2

I'm trying to set every weapon in the game to be fully automatic, how would I go about doing that? I've downloaded the GML code editor and was wondering how to actually edit the weapon objects.

Developer

If you really just want to make every built-in weapon automatic, unconditionally, you could do

for (var i = 1; i < 128; i++) {
    weapon_set_auto(i, true);
}

Replicating Steroids-like behaviour is a little trickier and would probably involve timely setting clicked variable for the player.