How to script knowing what the function does

Hello developers!

I have problem with my imagination. I know how to script but I don’t know how to do something like Egg Hatching System or Trading.

I’d suggest breaking down each part of what you are trying to work on, for example if your making a minigames game you know it will need to have a timer, lobby, etc. Try breaking down each part of a trading system into pieces.

1 Like

Search YouTube. I myself have a video on egg hatching.

Sorry for no responding. I mean, I don’t know what to use to make something…

Before you create something, you need to think about EXACTLY what you are going to make, and how you are going to make it. Only when you have that figured out, can you actually start creating something. You will need to simplify what you are creating, so you understand what you need to do and how you are going to do it.

For example, an Egg Hatching System:

  1. First you need to identify when a player triggers a certain condition to start the egg hatching system

  2. Then, create a list of all the pets

  3. Next, get a random number out of the list based on their rarities

  4. Finally, clone that pet into the player

You can break a big subject into small subjects so that you easily know how to implement a certain task

1 Like