Announcement

Collapse
No announcement yet.

Separate "New Death" scripts?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Separate "New Death" scripts?

    I know you can apply custom scripts to character profiles under the Adv. tab, under Combat like "Normal Damage", "Critical", "Defense", and etc. I also know there is also a "New Death" script that triggers when a character loses all his/her HP. Is there a way you can apply different "New Death" scripts to individual characters? I want to add an SFX like "Cry Female" and "Cry Male" so there'd be something like a scream or something when someone dies, but I'd like it to be gender specific if at all possible.

    Sorry if this has been answered before, but I didn't notice anything like this in the Tips and Tricks thread.
    "A tactician must never make a public apology. You must assert that
    your plan was impeccable and if not for you, the outcome would've been
    much worse." -- Lucretia Merces - Suikoden V

    #2
    Re: Separate "New Death" scripts?

    Well though I had never though of doing this, yes this is possible and quite easy if you use that script.

    So all you need to do is in the script branch of the [New Death] script where [Temp Flag 0] is Off (this means the flag [Side] is off meaning the party is currently up so a party member is dying, Temp Flag 0 is being set in the script [Current Side]), put in these lines

    Member Info: Load // the [Member Number] is already set to the dying character here
    Script Branch: Condition: Input [Sex] = 'Male'
    - SFX [Scream Male]
    Script: Condition End
    Script Branch: Condition: Input [Sex] = 'Female'
    - SFX [Scream Female]
    Script: Condition End

    (if you are unfamiliar with programming // indicates a comment by me on the code and is not part of the script)
    I actually tested this so it does work, though if you have any problems with it just ask again. So you don't need seperate death scripts, unless you just want to seperate them (it actually take a bit more memory, and trouble to make seperate ones, though sometimes seperating these things make your scripts more easy to organize).
    Last edited by thetruecoolness; 08-27-2005, 03:08 AM.
    はじめまして。真(しん)の冷静(れいせい)です。どうぞよろしく。
    http://www.thetruecoolness.com/

    5198-2124-7210 Smash

    Comment


      #3
      Re: Separate "New Death" scripts?

      Wow. That worked beautifully! Took me a while to figure out a few things like how to work the "Input" commands, but it worked. Thanks a lot.
      "A tactician must never make a public apology. You must assert that
      your plan was impeccable and if not for you, the outcome would've been
      much worse." -- Lucretia Merces - Suikoden V

      Comment

      Working...
      X