World events invoking code
Is it possible to execute Code Builder Code from an action from the game not tied to a direct player? I know we can bind to events done by the player, and run code for him. But I was wondering if there is any way, perhaps trick, to get code run by say, a command block.
Thank you. If there is no way, how can we propose it for development team? I think this would let lessons be far more complex for more avanced students and kids too.
-
Merry Hofmeister is this possible?
1 -
I would also like to see this developed. Right now I have to decide between Code Builder and command blocks. It's easy to execute commands from CB, but I want to run my code from commands.
1 -
You could set up an event listener for a particular event, like on item used or if [block] detected to trigger code. Can you provide an example of what you hope to happen? Thanks!
0
Please sign in to leave a comment.
Comments
3 comments