"When bullet hits living entity" only uses the base/initial value of the variables attached to it.

Started by Saiber Rida on Sun, 08/30/2020 - 08:44

Topic category: Bugs and solutions

Last seen on 18:06, 31. Oct 2020
Joined Feb 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
"When bullet hits living entity" only uses the base/initial value of the variables attached to it.
Sun, 08/30/2020 - 08:44

If you attach a procedure that uses a variable to the "When bullet hits living entity" event, it will only take the initial value, changing the variable's value will have no effect on the bullet.

Last seen on 18:06, 31. Oct 2020
Joined Feb 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The problem is that the…
Sun, 08/30/2020 - 13:39

The problem is that the bullet actually uses the variable, it's just that the bullet ignores any kind of changes to this variable, if the original value is true and you set it to false, the bullet will always take it as true, no matter what you.