How to get Slot id in Procedure (not with constant Number)

Started by Appa1990 on

Topic category: Help with MCreator software

Active 7 months ago
Joined Aug 2024
Points:
40

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
How to get Slot id in Procedure (not with constant Number)

Hey folks,

 

ive noticed that in the GUI when adding a Procedure to the Input/Output slots that the slot have the variable for the slot id availible for the called procedure.

Maybe iam to dum or dont see how i can access the slot id in the Procedure. Sure i could hardcode the value, but i want to keep the code as small as possible.

 

Greetings

Appa1990