Advertisement
Guest User

Untitled

a guest
May 16th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. MakeUnits.asg:
  2.  
  3. void Make(ResourceBank@ resBank)
  4. {
  5.     resBank.AddFile("example.unit", "<unit><behavior>....</behavior>...</unit>");
  6.  
  7.     for (int i = 0; i < 10; i++)
  8.         resBank.AddFile("example"+i+".as", "int g_Const"+i+" = "+(i*50)+";");
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement