Teaser: Reference objects in behaviours
Here's a teaser of something we've been working on. I know a few of you have really been wanting this.
Cant wait to get this out for you guys to play with. Will make behaviours incredibly powerful.
Kamdroid last edited by Kamdroid
@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.
RobinsonX last edited by
WOAH! This is going to be a big game changer..
Andrey Ghost last edited by
I've been waiting for this for years! This dish is gonna open a whole new developing horizon!
Cyber_Death last edited by
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.
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