#[Fixed] Is there anyway to make this work with all burst numbers?

1 messages · Page 1 of 1 (latest)

weak mantle
#

Is there anyway to make this work with all burst numbers?
Maybe regular expressions could help?
Do i need to rewrite this code so it can work with all burst numbers cleanly?

weak mantle
#

the code changes a ui text to be auto, semi, or a burst. with the burst text i want to to show the amount of bullets the burst shoots with the character "|"

forest hearth
weak mantle
#

do i replace the 3 with it or the string next to it?

forest hearth
#

I’m assuming you want to show how much bullets the burst shoots with the ui right?

forest hearth
#

Like Burst 5

weak mantle
#

with the "|" character

forest hearth
#

Where do you access the burst number

weak mantle
forest hearth
#

in the string table put “burst %s” and in the code part string.format(string format, string.rep(“|”, Item.Settings.fireModes[fireMode])

#

You may need to check if it is the burst mode tho

weak mantle