On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

just set the fire rate to 0 and handle it in your own script ๐Ÿ˜

You make it sound so simple haha. What do I need to know in order to access the fire rate? If I just run the Spawn function from my "weapon" it only tackles the location and direction, but not the speed.
If I try to call SetSpeedSettings, I'm not sure what to pass to it in order to actually send information over to it.
Do those questions make sense?
Thank you for the help!

(1 edit)

you don't need to access it, just set it to 0 on the bullet manager. Then in your own script, only call Spawn every beat. Ignore the fire rate in the spawn settings entirely!

It's acting super weird,

So I have a callback from Wwise into Unity. It is watching for a marker in my project. Whenever the marker is hit, it returns a string of the name of the marker. So unity is getting 5 ish markers every beat. So the spawn will do a random burst and then just shut off, even though I can see that my if statement is printing to my debug every marker.

My fire rate is set to 0. Burst I'm assuming should be 1? I tried 0 and there were no bullets.

But Spawn, it should produce one bullet per call to the function right? Even if I called it once, it would be

Call Spawn

Spawn fires 1 bullet

Spawn does nothing until called again


I feel like I'm missing something super basic about how this is functioning, any recommendations? Am I approaching it from the wrong angle perhaps?

are you in the discord server? It'll be much easier for me to help there, or via support@wayfarer-games.com ๐Ÿ˜…

Spawn fires as many bullets as the spawn settings describe. So if you've got numSides = 5, numPerSide = 1 it will fire 5 bullets in a circle every time you call Spawn. It would help if I can see you bullet settings, spawn settings and the code you're using that calls Spawn

I am as CurtisSmithSound#5426. I did send an email to you as well with more details. Thank you for taking the time to help!