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

Started by Appa1990 on

Topic category: Help with MCreator software

Joined Aug 2024
Points:

User statistics:

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