Variables not working

Started by Calebdarth on

Topic category: Advanced modding

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Variables not working

So i have a set of food item that when you eat will give you powers but only if the global var speed is set to true, to set it too true i have it so when you eat the item there is a 50% chance that it will be set to true. But it isnt working and i dont know

Random values are between 0…
Sat, 05/18/2019 - 14:51

Random values are between 0 and 0.9999999... and you are checking if it is 1, which is never the case. You have random possibility template in the procedure library.