Jump to content
Sign in to follow this  
Cernu

duplicate a game object ?

Recommended Posts

Hi all, I would need to have a game object template in the world, and duplicates here and there (they are spawners). However, if I change the template values, the duplicates don't change their values. Is there a way, beside using data sheets (which I do, but don't find really convenient...) ? 

Share this post


Link to post
Share on other sites

If i understand your problem right, you must actualize game logic in storage manualy. This is not needed only in "entity storage" but in "game logic storage" you have to manualy reload. 

 image.png.2116dd912d9ac0a1542f62ab9bdaeab4.png

  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites

not really what I am looking for. Imagine I have a time trigger, that spawns an entity. I need to put some copies of this trigger all over the map. But what I am looking for is when I change the original trigger values (like spawn 2 entities instead of 1), all the triggers that I have copied on the map will spawn 2 entities, without having to manually update them, or delete them and re copy the original. Data sets can do this with no issues, I just wondered if there was an other way ...

Share this post


Link to post
Share on other sites

You might be able to Ctrl double click to select all of them and edit them all at the same time... but that depends on if you have different types of time triggers, etc. Or maybe use an instruction for the script so that it will update all of them at once?

  • Thanks 1
  • Upvote 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×