Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I make the barrels respawn? #153

Open
spadesoface07 opened this issue Mar 3, 2023 · 2 comments
Open

How can I make the barrels respawn? #153

spadesoface07 opened this issue Mar 3, 2023 · 2 comments

Comments

@spadesoface07
Copy link

I'm a new coder who is looking to work on this project for educational purposes. I wanted to experiment with making the barrels respawn since they can only be used once until the match has ended completely. If anyone could help me with looking into this then I would greatly appreciate it.

@Oguzozcn
Copy link

Oguzozcn commented Mar 5, 2023

I am a new coder also and I think this is the solution you are looking for. I have to clarify that I think in unity and unreal if you put the objects at the scene it means its going to be there when gamemode (your coded game state) will initiate. If you want to respawn them after game mode starts you have to use this video I think. Here (Note: I might be wrong so if you find the right answer please let me know also)

@YunoGasasi9862
Copy link

YunoGasasi9862 commented Mar 21, 2023

What you can do is keep track of your objects. Once destroyed, add them to the pool, and they'll respawn again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants