public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: EventSpawn help?
  • Original author: Khalym
  • Original date: November 19, 2013
  • Source thread: https://forums.rpgmakerweb.com/threads/eventspawn-help.20147/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

Hi, First off, I'm just gonna say that I'm using Falcao Pearl ABS Liquid v2, which is a real-time battle script. Secondly, I'm using an EventSpawn by Kal. So what I'm making is this barrel. And the barrel is going to be an obstruction blocking the player's route, which the player has to push in order to continue on their path. The way the barrel is pushed away is by using the real-time battle script along with the EventSpawn. So I have a weapon that works like this; if it...

Archived First Post

Hi,

First off, I'm just gonna say that I'm using Falcao Pearl ABS Liquid v2, which is a real-time battle script. Secondly, I'm using an EventSpawn by Kal.

So what I'm making is this barrel. And the barrel is going to be an obstruction blocking the player's route, which the player has to push in order to continue on their path. The way the barrel is pushed away is by using the real-time battle script along with the EventSpawn. So I have a weapon that works like this; if it hits the barrel, the barrel will move to a certain location. But I'm cheating a bit. Here's what I'm doing:

So the ABS has an "Enemy Death Switch", so that when the enemy dies it will trigger a switch. I've assigned its switch to 42. Now what happens on 42 is that it will immediately respawn the event, and after that, it will move it to the location. This makes it so that it doesn't seem like the barrel "dies" at all. The reason I'm doing it like this is cause I don't know of any other way to do this.

There's a problem, however. Once that barrel "dies", it does respawn, but not only one "barrel", but two. And if I remove the EventSpawn command, it won't respawn any. This is what the code looks like:

<spawn-id 1> This is the event ID (Mandatory)<spawn-timer 0> The number of frames it takes between each spawn (Mandatory)<spawn-max 1> Quote: "takes the maximum number of events the spawner should spawn.Once this number has been reached the spawner will stop spawning."Additional info:

-The event's trigger is a parallel process

-This is the EventSpawn I'm using: http://forums.rpgmakerweb.com/index.php?/topic/6099-eventspawn/

-Both "barrels" will move

I tried changing the timer, but that only delays the spawn that comes after. I also changed the spawn max number, but then it won't spawn any at all, or spawn more. I just can't understand what I'm doing wrong.

I have only been working with the RPG Maker for a week, so please explain as simple as possible. If you have any other alternatives to how I can do this, please tell me.

Thanks in advance.

Protected download

Protected download

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

BarrelEnemy.png
BarrelEnemy.png
BarrelEvent.png
BarrelEvent.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar