I want to add a couple of actions to take place after all the sub-events of an event are finished. Do I have to copy paste the actions at the end of every sub-event if they're in a if-else-if-else block? Is there any way to just put it once and it takes place no matter which sub-event took place?
Suppose I have this:
when this happens: if(something): do 1 else if(someotherthing): do 2 else: do 3[/code:1l9x6ydl] Now I want to add an action to take place in the end. So I put an action in the end. [code:1l9x6ydl]when this happens: if(something): do 1 else if(someotherthing): do 2 else: do 3 do 4[/code:1l9x6ydl] But what I've noticed till now in Construct 2 is I have to do this :- [code:1l9x6ydl]when this happens: if(something): do 1 do 4 else if(someotherthing): do 2 do 4 else: do 3 do 4[/code:1l9x6ydl] How do I just put an action in the end using Construct 2? I tried using a blank sub-event but that made the code act weirdly.
Develop games in your browser. Powerful, performant & highly capable.
Have "do 4" in a blank sub event.
The action will always be executed no matter what after the testing/execution of all previous sub-events.
Thanks! I did try that but it gave out some weird results. I'll try it again.