In my mod I was wondering how to randomize the abilities when spawned

Started by timmyt on

Topic category: Advanced modding

Last seen on 19:57, 24. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In my mod I was wondering how to randomize the abilities when spawned

In my mod I was wondering how to randomize the abilities when spawned

Last seen on 15:36, 5. Aug 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use a random integer between…
Fri, 06/21/2024 - 12:36

use a random integer between 1 and 10, for each number, choose a ability. There ahould be a variable for if they have the ability or not. example:

make local variable random, random integer between 1 and 10

if random = 1

set dashability true

if random = 2

set flyability true

and so on.

fir multiple abilities, do the thing above multiple times.

-PixelKid

Last seen on 19:57, 24. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks if you're hoping to…
Sun, 06/23/2024 - 21:11

Thanks if you're hoping to make a mod I'm available

Last seen on 19:57, 24. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry please could you show…
Tue, 06/25/2024 - 06:23

Sorry please could you show me with the picture

Last seen on 19:57, 24. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
At first it was working but…
Tue, 06/25/2024 - 06:24

At first it was working but then it stopped working