Spawning an entity

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
TheLegendaryNarwhal
Posts: 12
Joined: Sat Oct 25, 2014 3:26 pm

Re: Spawning an entity

Post by TheLegendaryNarwhal » Sun Oct 26, 2014 4:46 am

Question, when spawning in an entity with a count, pellet_box for example, how could you rig a button to spawn more then 1. Trying to get "ammo dispensers" working for my firing range map and I'm stuck trying to get more then just one spawned per press of the button. End goal is:press one button 100 pellet boxes spawn at your feet, press another and 15 cannonballs spawn at your feet.

Edit: And it would be nice to have a more elegant solution then just spawning in 1 pellet box inside a loop and execute it 100 times, but hey if that's the only way...lol

Post Reply