Teaser: Reference objects in behaviours
-
@murtaza is the object ID is a string, so it can be used in broadcast and receive behaviours?
Finally, I can make functions for manipulating an object rather than repeating my code a thousand times.
edit: Perhaps having a "Function" behaviour would also be nice instead of using Broadcast and Recieve as such.
That way I don't forget the params and order I need to supply.
-
Yup! It can be passed around with other behaviours.
And all objects/b are now technically inputfields. So you can enter an Id there (can’t type directly, would need to output from another behaviour).
Also things like spawn will output an array of ids that you can m sort through an manipulate using the get array and for loop etc.
-
Functions are definitely on our todo list. We just don’t want to implement a half thought out solution that needs to multiple bandaids (updates) to be good.
-
WOAH! This is going to be a big game changer..
-
I've been waiting for this for years! This dish is gonna open a whole new developing horizon!
-
What!?
Amazing.
Can't wait to use this! -
Yea, I've also been waiting for ages to be able to do this.
The problem with HyperPad (and probably many visual programming platforms), it isn't dynamic enough.
For example, being able to use any variable/output for every input to a behaviour. As well, not having enough power like you have in a regular programming language.
It's getting there though, it'll be amazing in the future.
-
@murtaza Also, don't forget to let us loop over every object using this reference system.
-
@kamdroid
Should be able to. Sign up for the beta and you can try out out first hand and give your input on what needs to change or be added. Or tell us if it doesn’t work at all 😂 -
I feel I won't have enough devoted time, thanks though