How do I set up Spawn Condition Procedures

Started by FireBlox on Tue, 01/26/2021 - 14:57

Topic category: Help with MCreator software

Last seen on 19:05, 22. Feb 2021
Joined Jul 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I set up Spawn Condition Procedures
Tue, 01/26/2021 - 14:57

How am I supposed to construct a spawn condition procedure for a custom entity? The goal is to only allow it to spawn when a specific global variable is at a certain value. I looked around on this site and didn't find anything particularly helpful on this. A screenshot of a functional procedure would be helpful if possible.

Last seen on 18:41, 20. Feb 2021
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if <variable> > <num> then…
Tue, 01/26/2021 - 19:17

if <variable> > <num> then
spawn <creature>

 

Last seen on 19:05, 22. Feb 2021
Joined Jul 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There doesn't seem to be a …
Wed, 01/27/2021 - 12:58

There doesn't seem to be a <spawn> block. I should also probably mention that I am using the 2021.1 snapshot