Dark Age Games
Home Dark Age EX Dark Age 2 Message Board Fan Art FAQ Kelzar Mage DALpedia MS Forum
Board Index Dark Age General Bug Report Website Off Topic Register User Edit User User List Search

In reply to: Okay... -- william 05:56:13 09-21-2004

Hmmm...
Posted by: Xorlak
15:15:29 09-21-2004

You mean something like:


#for(slot!=0;slot!<4;slot!=slot!+1)
{
#createitem("goblin.itm",slot!)
}


You'll probably want to put the enemies on the board and set up their location variables as well.  This assumes they appear in random spots:

#for(slot!=0;slot!<4;slot!=slot!+1)
{
#createitem("goblin.itm",slot!)
#random(19,itemX[slot!]!) *Assuming a 19 X 15 board
#random(15,itemY[slot!]!)
#putitem(slot!, itemX[slot!]!, itemY[slot!]!, 1)
}


You'll probably want to tweak that a little to make sure you don't set them on top of solid objects, etc.

----------
-Xorlak
Edit Post