Advertisement
Guest User

Untitled

a guest
Dec 17th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.60 KB | None | 0 0
  1. <!--! Generate articulated switches only if consist is longer than 1 -->        
  2. <tal:articulated_switches condition="len(consinfo) > 1">                        
  3. switch(FEAT_ROADVEHS, SELF, switch_${name}_2cc, position_in_consist % ${len(consinfo)}) {
  4.     <tal:sprites repeat="pos consinfo">                                        
  5.     ${repeat.pos.index}: spritegroup_${name}_2cc_${consinfo[repeat.pos.index][3]};
  6.     </tal:sprites>                                                              
  7. }                                                                              
  8. </tal:articulated_switches>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement