+1
Answered
A few basic subwire questions for you
I'm working with subwires for the first time. They seem pretty cool and handy, but I just had some clarifying questions about how all the pieces fit together.
- If I want to use styles in my subwire, should I put them in the subwire or the superwire? Will one or both work? (And if both, are there any limitations or advantages?)
- When I'm pathing from a subwire, do I path relative to the subwire or the superwire?
- Why must I specify a target to play superwire actions? (Can you have multiple or nested superwires?) And is there an option other than backwards pathing to do so? (Like an alias that lives in the superwire or something?)
Most of these questions are me just being curious, since they're easily avoided or figured out, but I thought I'd throw them out there for the greater good and to confirm my assumptions.
- If I want to use styles in my subwire, should I put them in the subwire or the superwire? Will one or both work? (And if both, are there any limitations or advantages?)
- When I'm pathing from a subwire, do I path relative to the subwire or the superwire?
- Why must I specify a target to play superwire actions? (Can you have multiple or nested superwires?) And is there an option other than backwards pathing to do so? (Like an alias that lives in the superwire or something?)
Most of these questions are me just being curious, since they're easily avoided or figured out, but I thought I'd throw them out there for the greater good and to confirm my assumptions.
Customer support service by UserEcho
Subwires can only initiate the styles that are placed directly in that wire. So you would need to replicate any similar styles for each wire file.
- When I'm pathing from a subwire, do I path relative to the subwire or the superwire?
When you path you are pathing relative from the include tag that initiates the subwire to the ROOT of the main.wire.
- Why must I specify a target to play superwire actions? (Can you have multiple or nested superwires?) And is there an option other than backwards pathing to do so? (Like an alias that lives in the superwire or something?)
We have been making strides here. Try not adding a target to your play action when it contains superwire="yes" and it should find the main.wire.
Subwires can play actions inside of the main.wire, but not the other way around.