Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi
I have and array containing 100 UIDs,
I want to create all 100 objects in one line using their UID and a for loop
I need something like "System --> Create Object" Action but by passing UID
is it possible?
UIDs are generated by C2, you can't set the value or create it from a UID, which is just a number.
Develop games in your browser. Powerful, performant & highly capable.
C2 can't create objects from variables. However you can use this plugin to assign a nickname to an object and create an instance from it whenever ou want:
http://c2rexplugins.weebly.com/rex_nickname.html
C2 can't create objects from variables. However you can use this plugin to assign a nickname to an object and create an instance from it whenever ou want: http://c2rexplugins.weebly.com/rex_nickname.html
Thank you this plugin does what I want
yes I cant set uid but I can add sprites in a spacial sequence so c2 will assign my desired uid to it.
rex_nickname plugin helped me to solve my problem