Always snap to grid

Difference between revisions of "Unreal Wiki:Sandbox"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (1 revision(s))
(testing uscript highlighting)
Line 7: Line 7:
 
* This works, but is very ugly: {{#replace:{{#replace:@@{{#replace:a,b,c|,|~~, @@}}~~ | ~ | ] }} | @ | [ }}
 
* This works, but is very ugly: {{#replace:{{#replace:@@{{#replace:a,b,c|,|~~, @@}}~~ | ~ | ] }} | @ | [ }}
 
* Still ugly, but a bit better: {{concat|[|[{{#replace:a,b,c|,|{{concat|]|], [|[}}}}]|]}}
 
* Still ugly, but a bit better: {{concat|[|[{{#replace:a,b,c|,|{{concat|]|], [|[}}}}]|]}}
 +
 +
<uscript>
 +
class TestCommandlet extends Commandlet;
 +
 +
function int Main(string Args)
 +
{
 +
  DynamicLoadObject(Args, class'Class');
 +
 
 +
  return 0;
 +
}
 +
</uscript>

Revision as of 16:57, 17 February 2008

Do not edit the area above the separator line, please.


  • This correctly replaces, but for obvious reasons doesn't produce links correctly: a, [b]], [c]]
  • This doesn't even apply #replace: [[{{#replace:a,b,c|,|]], [[}}]]
  • This works, but is very ugly: a, b, c
  • Still ugly, but a bit better: a, b, c
class TestCommandlet extends Commandlet;
 
function int Main(string Args)
{
  DynamicLoadObject(Args, class'Class');
 
  return 0;
}