The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: IXFURU on September 04, 2010, 06:11:48 PM

Title: Small script that counts Dead Allies
Post by: IXFURU on September 04, 2010, 06:11:48 PM
Trying to make a revival station which charges x amount of Gold per Dead Party member.
Variable(members in current state) x Variable(dead members combined levels) or something like that.

Store that in an in-game variable.
Title: Re: Small script that counts Dead Allies
Post by: modern algebra on September 04, 2010, 06:16:36 PM
Just do it with an event? Check each party member for whether or not they have the state "incapacitated", add 1 to the variable.
Title: Re: Small script that counts Dead Allies
Post by: IXFURU on September 04, 2010, 06:23:36 PM
That would require a great many conditional branches, wouldn't it?
There's no set party members in the project, and there may be any number of actors in the party.  So, I'd have to make a conditional branch in order to check If actor is in party, and then a sub branch If actor has "dead" state for each one.  I started to do it that way.  But I feel like a script could store it as sort of a parallel process, which could add and subtract the number on its own.