EventSpawn help?

Khalym

Warper
Member
Joined
Nov 15, 2013
Messages
4
Reaction score
0
First Language
Engish
Primarily Uses
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.

BarrelEnemy.png

BarrelEvent.png
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Why are you not just using a simple event with a 'move away from player' move route every time it's pushed? Why are you using scripts and setting it up as if it's an enemy?
 
Last edited by a moderator:

Khalym

Warper
Member
Joined
Nov 15, 2013
Messages
4
Reaction score
0
First Language
Engish
Primarily Uses
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

Why are you not just using a simple event with a 'move away from player' move route every time it's pushed? Why are you using scripts and setting it up as if it's an enemy?
Thanks, sorry.

Because you're supposed to use a weapon with projectiles (like a spell) to push it, and not push it with the player itself.
 

Khalym

Warper
Member
Joined
Nov 15, 2013
Messages
4
Reaction score
0
First Language
Engish
Primarily Uses
Admin can close this, I sort of found a temporary solution to this problem. If someone knows how to 100% fix it, please send me a pm! :)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Khalym, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


If you still need help, we'll leave the topic open. Nothing worse than people who don't really know what they're doing, instructing others via PM, where nobody else can see and point out that the instructions are incorrect.


WHEN you get a 100% solution, or decide you no longer want any help, THEN you can let us know and we'll close the thread :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,081
Members
137,582
Latest member
Spartacraft
Top