NPC generator

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

mario610
Hoopster
Hoopster
Posts: 41
Joined: Tue Jan 07, 2014 3:44 pm

NPC generator

Postby mario610 » Tue Jan 07, 2014 9:00 pm

is there any way to limit how many can an NPC generator can generate at a time?
Last edited by reghrhre on Tue Jan 07, 2014 9:02 pm, edited 1 time in total.
Reason: Moved thread to the appropriate forum

FallingSnow
Foo
Foo
Posts: 822
Joined: Sat Dec 21, 2013 4:32 am

Re: NPC generator

Postby FallingSnow » Tue Jan 07, 2014 10:23 pm

You could put the generator on a layer and hide the layer after X generations of NPCs have generated (via math).

FanofSMBX
Ludwig von Koopa
Ludwig von Koopa
Posts: 3878
Joined: Sun Dec 22, 2013 12:01 pm

Re: NPC generator

Postby FanofSMBX » Tue Jan 07, 2014 11:34 pm

I think he means that he wants, say, only 3 spinies to be able to be out of a pipe at once, then after you defeat one or more of the spinies, more would come out and so on. IDK if that would be possible.

FallingSnow
Foo
Foo
Posts: 822
Joined: Sat Dec 21, 2013 4:32 am

Re: NPC generator

Postby FallingSnow » Wed Jan 08, 2014 12:13 am

If that's the case, it gets a bit more complicated.

A) You need an event that hides the spawner after the time it takes to spawn three enemies.
B) You need an event to show the spawner.
C) You need an event to hide the spawner after the time it takes to spawn one enemy.

Have A start by itself. Have B activate upon the death of an enemy. Have C activate a time after B has occurred via the events window.


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari