Spawning higher level monsters

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
Grimfan
Posts: 369
Joined: Wed Jan 02, 2013 7:48 am

Spawning higher level monsters

Post by Grimfan »

Straightforward question people.

Is it possible to spawn higher level monsters (such as a level 5 snail or level 2 ogre) via a script?

By the way, I know I can just define a more powerful creature and spawn that, but I'm talking about a generic scripts that would alleviate the need to do this.
User avatar
Sutekh
Posts: 129
Joined: Sun Nov 25, 2012 9:58 am
Location: UK

Re: Spawning higher level monsters

Post by Sutekh »

Yes, you can set the level of the monster. Just figure out which level, x, y and facing you want and it's pretty simple:

Code: Select all

function spawnHerder1()
   spawn("herder", 1,17,15,3)
   :setLevel(5)
end
Grimfan
Posts: 369
Joined: Wed Jan 02, 2013 7:48 am

Re: Spawning higher level monsters

Post by Grimfan »

Sutekh wrote:Yes, you can set the level of the monster. Just figure out which level, x, y and facing you want and it's pretty simple:

Code: Select all

function spawnHerder1()
   spawn("herder", 1,17,15,3)
   :setLevel(5)
end
Thanks Sutekh. I knew the answer was going to be straightforward. :)
Post Reply