Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hey guys It has been quite a while since i have been on the forums or working on projects in CC.I started working on a small Quake Clone demo in Dec 2023, but then i started SimRacing and lost all interest in working on my projects, but for a good viable reason i believe. Anyways, i just cannot get the game making/design bug out of me, so i started to ponder with some ideas again, but i hit a HARD roadblock, maybe it is my design or thinking skills, but here goes anyway: If you have a scene, and you create 1 enemy soldier, with it's own variables(enemy1.health) and actions and animations, the 1 enemy soldier in the scene works perfectly, but my problem is, as soon as i desire to add another enemy soldier, i CANNOT just copy/clone the first one, i will literally almost have to create another exact copy from scratch, reason being is: The first one has it's own unique variables assigned to it, so if i make a clone, i would have to go and rename the variables for the clone, which essentially creates A LOT of work, if you want for example 3 or more of the SAME enemy soldiers in a single scene, it's not just about "copy and past" and adding the enemy soldiers in, i would have to painfully rename variables for each and every one. Well, that's my story, i am missing something to make life easier, or is that the way it needs to be done - i refuse to use ANY other engines, i half grew up with this engine |
||||
|
https://www.ambiera.com/forum.ph... |
||||
|
@jctech What unique variables are assigned to the enemy? It's hard to help you without seeing what it is you are doing. My guess is you need to use some JS to make things easier on you. Instead of putting the enemy directly in the scene, make a node that works like a spawn point for the enemy, then during runtime clone the enemy to that position, change its name, setup its unique variables, etc. |
|