Can fire ranged weapon not working

Started by Averagemcreato… on Wed, 10/20/2021 - 15:06

Topic category: Help with modding (Java Edition)

Last seen on 18:55, 4. Dec 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Can fire ranged weapon not working
Wed, 10/20/2021 - 15:06

Hello. a command I make doesn't work. the error message is "Procedures with return values must always end with a valid return block"

The procedure is a can fire ranged weapon "Event trigger , If get global [MP] For entity [Event/target entity] Do Return(Light blue return block) true. Please help me

 

Last seen on 06:48, 4. Dec 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
outside of the If statement…
Wed, 10/20/2021 - 16:23

outside of the If statement put: Return False

and check that the first Return is Return True

also don't comment on your won't posts bc it is less likely for ppl to see it