Adding an "else" hook

Started by OWOowOooadeofo… on

Topic category: Feature requests and ideas for MCreator

Active 1 year ago
Joined Mar 2019
Points:
817

User statistics:

  • Modifications: 5
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 41
Adding an "else" hook

Please add an "else" hook for an if then else statement so you can put as many else's as you want. If Then Else Else Else Else Else Else. Etc.

Active 4 years ago
Joined Sep 2019
Points:
733

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 110
You can press the cogwheel…
Mon, 10/07/2019 - 23:43

You can press the cogwheel drag drop the items.

Active 4 years ago
Joined Sep 2019
Points:
733

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 110
Then press the cogwheel…
Mon, 10/07/2019 - 23:43

Then press the cogwheel again to close it

Active 1 year ago
Joined Mar 2019
Points:
817

User statistics:

  • Modifications: 5
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 41
But that doesnt let me get…
Tue, 10/08/2019 - 00:02

But that doesnt let me get more than 1

Active 4 years ago
Joined Sep 2019
Points:
733

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 110
Use else if
Tue, 10/08/2019 - 00:35

Use else if

You can only use one else,…
Tue, 10/08/2019 - 08:12

You can only use one else, it is the block that executes if all other if and else if blocks don't. I suggest you to find and watch a tutorial on how if statements work in programming to get a grasp on them :)