forum

Depth Branching Loop or Trigger in [Events]

posted
Total Posts
8
This is a feature request. Feature requests can be voted up by supporters.
Current Priority: +2
Topic Starter
Rei Hakurei
like the title said, i hope the .osb supports deeper branching on loop or trigger event

current version osb turns this code:
Sprite,Pass,Centre,"StoreiBoard\14-3-1.png",160,406
_L,88234,2
__L,0,2
___F,0,0,149,0,1
___S,1,0,671,0.8,2.4
___F,0,522,671,1,0
___M,0,671,,320,406
__R,0,87761,,0
_M,0,0,,160,406
into :
Sprite,Pass,Centre,"StoreiBoard\14-3-1.png",160,406
_L,88234,2
_L,0,2
__F,0,0,149,0,1
__S,1,0,671,0.8,2.4
__F,0,522,671,1,0
__M,0,671,,320,406
__R,0,87761,,0
_M,0,0,,160,406
which automatically breaks the branch when another loop/trigger even is coming.

on that object sample, it tells i actually need a loop at 88234 by 2 times and at the start of the loop, it starts loop-child which 2 times repeat too.. but the .osb at current version doesn't support loop-child of a loop..

just by reading how many underscores or spaces at the start of the line, it automatically change the depth of the branch too (just like normal coding)

*my theory isn't really good, sorry
Azure_Kite
Why is this necessary/Helpful?
Topic Starter
Rei Hakurei

Azure_Kite wrote:

Why is this necessary/Helpful?
hmm just wanted to make the event more shorter instead making a bit long like this
_L,88234,2
__M,0,0,,160,406
__F,0,0,149,0,1
__S,1,0,671,0.8,2.4
__F,0,522,671,1,0
__M,0,671,,320,406
__F,0,671,820,0,1
__S,1,671,1342,0.8,2.4
__F,0,1193,1342,1,0
__R,0,87761,,0
(current solution based on the previous piece of code)

actually this is maybe under priority once i think again lol~
Sakura
A Loop in a Loop eh, that'd be pretty useful, Support!
Card N'FoRcE
oh god yes, i remember trying this and noticing it didn't work.

I wonder why i didn't make a topic myself, but I totally support.
woc2006
try use osq to do the same thing.
mm201
Someone needs to write a comprehensive osq guide.
I suggest we unban strager.
those
Nested conditionals. Simple concept, never made a thread but I had brought it up once before.
Please sign in to reply.

New reply