Procedure is not running after being triggered once

Started by Bann__ on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Oct 2024
Points:
74

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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
Active 3 days ago
Joined Dec 2014
Points:
1535

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1570
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?

Active 1 year ago
Joined Oct 2024
Points:
74

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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.

 

Active 3 days ago
Joined Dec 2014
Points:
1535

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1570
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.

Active 1 year ago
Joined Oct 2024
Points:
74

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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?

Active 1 year ago
Joined Oct 2024
Points:
74

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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