Chaos Project

RPG Maker => RPG Maker Scripts => Topic started by: TEARS on December 16, 2008, 09:24:12 pm

Title: Need Help With Boss Script
Post by: TEARS on December 16, 2008, 09:24:12 pm
Hi, I use the Blizz-ABS and its awsome! its so easy to use!

anyway..

I have a mini-boss in my demo, and in full game I'll have 2 other bosses....

I want an event to be triggered after the player kills the boss. I can't firgure out how to do it...
I was told I needed a script to do it and I got zero knowledge in rgss... lol

If somebody could help me out I'd highly appreciate it!

Sorry if there is already a topic for this or something, I am always too lazy to check!
Title: Re: Need Help With Boss Script
Post by: Aqua on December 16, 2008, 09:26:38 pm
Read the manual :P

Event commands are triggered /after/ the enemy dies (Blizz will be adding more triggers soon).

However, to make sure that the boss does not respawn, you should rename the event so it is no longer an enemy.  This is in section... Utilities I think... Around 3.2
Title: Re: Need Help With Boss Script
Post by: winkio on December 16, 2008, 09:29:00 pm
basically, have it so when the boss dies, it triggers a switch on by putting it in the event code of the boss.  Then, have the event you want to be triggered have the condition of the switch being on.
Title: Re: Need Help With Boss Script
Post by: TEARS on December 16, 2008, 10:19:43 pm
Quote from: Aqua on December 16, 2008, 09:26:38 pm
Read the manual :P

Event commands are triggered /after/ the enemy dies (Blizz will be adding more triggers soon).

However, to make sure that the boss does not respawn, you should rename the event so it is no longer an enemy.  This is in section... Utilities I think... Around 3.2


yeah, I just put   \b  in the event name making it not respawn


Quote from: winkio on December 16, 2008, 09:29:00 pm
basically, have it so when the boss dies, it triggers a switch on by putting it in the event code of the boss.  Then, have the event you want to be triggered have the condition of the switch being on.


huh? lol...

that was a bit confusing to me... lol well I'm not the brightest... but could you like take a screenshot of the boss's event and the other event I want to be triggered? so I can see exactly what to do lol...

thanks in advance
Title: Re: Need Help With Boss Script
Post by: Starrodkirby86 on December 16, 2008, 10:37:12 pm
Quote from: TEARS on December 16, 2008, 10:19:43 pm
Quote from: Aqua on December 16, 2008, 09:26:38 pm
Read the manual :P

Event commands are triggered /after/ the enemy dies (Blizz will be adding more triggers soon).

However, to make sure that the boss does not respawn, you should rename the event so it is no longer an enemy.  This is in section... Utilities I think... Around 3.2


yeah, I just put   \b  in the event name making it not respawn


Quote from: winkio on December 16, 2008, 09:29:00 pm
basically, have it so when the boss dies, it triggers a switch on by putting it in the event code of the boss.  Then, have the event you want to be triggered have the condition of the switch being on.


huh? lol...

that was a bit confusing to me... lol well I'm not the brightest... but could you like take a screenshot of the boss's event and the other event I want to be triggered? so I can see exactly what to do lol...

thanks in advance

Spoiler: ShowHide
(http://img243.imageshack.us/img243/951/eventeditorhg4.png)

I'm believing this is what he meant. But I'm no mind-reader here...so I'm on a whim.

If you have any future questions about this by the way, post in the topic. And make sure you always read the manual, even if true men don't read manuals.
Title: Re: Need Help With Boss Script
Post by: winkio on December 16, 2008, 10:42:12 pm
yep, what he said.
Title: Re: Need Help With Boss Script
Post by: TEARS on December 16, 2008, 11:54:25 pm
oohhh yaya thanks...

lemme check if it works for me

gah, mine is different translation or something... might take me time to find that 'Control Switch'
I got this error when the boss died:


???? 'Blizz-ABS' ? 4509 ??? NoMethodError ?????????
undefined method 'battler_id' for #<Game_Event:0x700da90>


one question.... WtF???
Title: Re: Need Help With Boss Script
Post by: Blizzard on December 17, 2008, 03:36:33 am
There's no need to rename the event.
Title: Re: Need Help With Boss Script
Post by: TEARS on December 17, 2008, 05:06:01 pm
god damn now I feel so stupid.. all I needed to do was add a switch operation command >_<

thanks for the help! works great!

by the way blizzard, gj on the abs! luv it