KChangeMember VX
#1
KChangeMember VX
Version 1.0.1
by Kyonides

Introduction

Had you ever needed to let a new hero inherit an old hero's equipment?
Did you ever want to let a newcomer learn some of a former party member's skills?
Well, now this scriptlet will let you do those things with a few simple script calls!

Please read the comments embedded in the script to learn how to use the script calls.

Warning!

This script does NOT load or read any saved games at any given time!

Instructions

Code:
# Explanation: :level stands for same level while :equip means same equipment.

# * Script Calls * #

# Let another Party Member inherit the old Party member's equipment
# Optionally he or she can learn some of his or her skills as well.
# succeed_member(OldActorID, NewActorID)
# succeed_member(OldActorID, NewActorID, SkillID1, etc.)

# Replace an Active Party Member (with Actor ID) with a stranger
# change_member(OldActorID, NewActorID)

# Replace an Active Party Member (with n Actor ID) with a stranger with
# additional Options: :level or :equip or both of them
# change_member(OldActorID, NewActorID, Options)

# Optional: Set or Change Language of Error Messages
# @language = :eng (Found in Error module)
# KChange::Error.language = :eng or :esp or :deu or :fra

module KChange
  module Member
    LEVEL_SYMBOLS = [:level, :nivel, :niveau]
    EQUIPMENT_SYMBOLS = [:equip, :equipo, :ausruestung]
  end

Examples:

Code:
succeed_member(1, 2)
succeed_member(1, 3, 1, 5)
change_member(1, 2, :level, :equip)


Terms & Conditions

Free for use in non commercial games. Contact me if you are going commercial. Winking
Mention me in your game credits! Grinning
Do not repost it anywhere else! Angry
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Messages In This Thread
KChangeMember VX - by kyonides - 10-22-2024, 11:39 PM



Users browsing this thread: 1 Guest(s)