Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Flamesora on June 16, 2010, 01:43:17 am

Title: Errr I read the Manuel but this respawn thing doesn't make any sense to me .
Post by: Flamesora on June 16, 2010, 01:43:17 am
2.5.5. Respawn Time

Causes killed enemies to respawn after a certain amount of time. It is possible to set up this value. This option can be changed in-game by using an event Call Script command with following syntax:

$game_system.respawn_time = POSSIBLE_VALUE


POSSIBLE_VALUE is one of the possible values for this option. Values out of range will be corrected automatically. Setting this value to 0 will disable this feature. This change will be saved with the save file.



Um yeah im sorry D: ... i don't get this..how do it?
Title: Re: Errr I read the Manuel but this respawn thing doesn't make any sense to me .
Post by: Jragyn on June 16, 2010, 03:55:31 am
respawn time, its the number of seconds that will pass before an enemy that died will respawn somewhere on the map. POSSIBLE_VALUE is teh number of seconds you set for such a thing to happen, and then all enemies' respawn time will be that by default.

As suggested by the manual, if you set it to ZERO (0), then respawning will be disabled, no matter what you set it to anywhere else.

Typically this is setup in the config application that comes with BlizzABS and generates the 1st part of the Blizz ABS scriptset. It can however be setup using the command within events "Script..." and inserting the piece you listed above with 'POSSIBLE_VALUE' replaced with the respawn default time.

Does this make sense?


--J

PS_if I'm wrong, correct me please, but this is how I understand it.
Title: Re: Errr I read the Manuel but this respawn thing doesn't make any sense to me .
Post by: Flamesora on June 16, 2010, 04:26:53 am
I understand :) thanks
by the way is it possible for me to make different respawns for a individual monster?
Title: Re: Errr I read the Manuel but this respawn thing doesn't make any sense to me .
Post by: Jragyn on June 16, 2010, 02:54:25 pm
I believe its all in the config application that comes with the scripts.


--J
Title: Re: Errr I read the Manuel but this respawn thing doesn't make any sense to me .
Post by: Flamesora on June 16, 2010, 09:09:43 pm
I checked and its not there.
Title: Re: Errr I read the Manuel but this respawn thing doesn't make any sense to me .
Post by: Wizered67 on June 16, 2010, 09:16:48 pm
RTFM!
It clearly states how to do seperate respawn points for each monster under creating enemies (last part of that section)
Title: Re: Errr I read the Manuel but this respawn thing doesn't make any sense to me .
Post by: Flamesora on June 16, 2010, 09:57:48 pm
explain? this please
5.1.8. Creating a Respawn Point
Respawn Points are a special feature in Blizz-ABS that allows the respawn of enemies at one specific point. Such a Respawn Point is created the same way as enemies are; by adding a specific command to their event name. Instead of \e[ID] it is necessary to use \respawn[ID1, ID2, ID3, ...]. The various IDs are enemy IDs from enemy types that will respawn at this point, separate the IDs with commas. As soon as an enemy is killed, he will respawn at one Respawn Point of the map where his ID is included in that setting. The waiting time for respawning in this case is 5 seconds. It can be changed by adding \time[TIME] where TIME is the number of seconds which needs to pass between death and respawn. Keep in mind that this feature is independent from the basic respawning feature and that it overrides the basic respawning system for the enemies defined in the setting. Respawn Points are normal events that are simply marked which means that they completely act like normal events.
Title: Re: Errr I read the Manuel but this respawn thing doesn't make any sense to me .
Post by: Wizered67 on June 16, 2010, 10:18:44 pm
In the event name, you call it \respawn[X] where X equals the enemies ids in the database that respawn there. Also, you put /time[Y] next to it where Y equals the time it takes to respawn (in seconds).