Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static var monsterArray = new Array();
- static var numberOfPacks = 12;
- var desertPack0;
- function Start()
- {
- monsterArray.length = numberOfPacks;
- desertPack0 = new monsterPack();
- desertPack0.location = "Deadly Desert";
- desertPack0.monster.size = 2;
- desertPack0.monster[0] = ?
- monsterArray[0] = desertPack0;
- }
- class MonsterPack
- {
- var location : String;
- var monsters : Monster[];
- }
Advertisement
Add Comment
Please, Sign In to add comment