Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
sometimes i wish i could do that is that possible to make? |
||||
|
right klick ->modify selection->copy behaviors of this node if copied then you can paste it to next node. |
||||
|
|
||||
|
Shortcut "CTRL+B" to cooy behaviors of a scenenode except root node... And "CTRL+J" to paste the behavior to another node. No copy paste mechanism for actions. |
||||
|
Yes i know i can copy behaviour of node but what about single actions and behaviours |
||||
|
this would though be used very little |
||||
|
like if i need 2 actions that check variable i can just make 1 and dublicate 1 |
||||
|
There is not this option 'Copy Actions' inside of behaviors and actions. |
||||
|
How about using a scene node as clipboard? Copy actions/behaviors from original nodes to clipboard node, delete actions/behaviors from clipboard node you don't want to pass further to other nodes. Then copy/paste from clipboard node to third node. You can also use multiple clipboard nodes, even folder nodes for the purpose. Made good experiences with this kind of workaround ... |
||||
|
@hadoken would you mind explaining this a bit more...please? I'd need to get a complex "shoot" with lots of additional sub-nodes into a "if/else" node. Is there any way? (one sublayer further down the rabbit hole)... How do you copy it to "clipboard" -> I guess you are speaking of the internal CTRL+C memory? :) ...or is this some CCB thin I'm totally NOT aware of. thanks, either way. hadoken wrote:
How about using a scene node as clipboard? Copy actions/behaviors from original nodes to clipboard node, delete actions/behaviors from clipboard node you don't want to pass further to other nodes. Then copy/paste from clipboard node to third node. You can also use multiple clipboard nodes, even folder nodes for the purpose. Made good experiences with this kind of workaround ... |
||||
|
@gree Sorry for the late reply, must have missed your question first. I was just talking about copying multiple actions/behaviors from one example or prototype node via Ctrl+B and pasting via Ctrl+J shortcut to a special scene node (simply use a folder node) which I exclusively use as kind of a "clipboard" to store and manage a bunch of actions/behaviors (e.g. with additional removing & editing of certain scripts) as templates for assigning to other game relevant nodes later on. That's all, but the concept makes my workflow a lot easier than repeating each single script arrangement several times from scratch in most situations. |
||||
|
@hadoken, thanks. I do work similar; but how do you copy/paste settings from the main-scene-node. It seems locked in place; any workaround to get these out of the top-level? |
||||
|
@gree For that reason I strictly avoid assigning any actions/behaviors to the main-scene node (aka scene root node). This also gives some advantages when reusing one scene as copy for another one. Only problem: "Before drawing do something" must be solved by a custom script then, because only the scene's root node seems to have access to the in-built editor function. But I think you could use this simple custom behavior for the task: /* |
|