Procedure is not running after being triggered once

Started by Bann__ on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure is not running after being triggered once
Wed, 10/16/2024 - 02:43 (edited)

I am building an point resource system that replenishes some after killing an entity. On the first kill it replenishes some but on the second kill and beyond the procedure does not seem to be triggered. I dont know if it is just not being reflected in the ui element that displays the points. Here are photos of the relevant code: https://imgur.com/a/ujf67Fs

Edited by Bann__ on Wed, 10/16/2024 - 02:43
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This probably isn't it but…
Wed, 10/16/2024 - 14:09

This probably isn't it but these are supposed to be source entity aren't they?

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes they are supposed to be…
Wed, 10/16/2024 - 22:55

Yes they are supposed to be source entities. I was just holding off on changing those until i got the non-boss entities to work properly. I might try playing with that to see if that fixes it.

 

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you try just putting a…
Wed, 10/16/2024 - 23:00

Can you try just putting a send message to all players block at the start of every check to see where it fails, or even better use the debug markers.

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so the procedure works but…
Thu, 10/17/2024 - 02:24

so the procedure works but it seems the gauge still is not updating. Could it be connected to the return value?

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have figured it out i was…
Thu, 10/17/2024 - 02:52

I have figured it out i was setting the ability points to what i was trying to add