Author Topic: [XP] Escape-Enabling Skills  (Read 5176 times)

Offline lilbrudder917

  • SDK's fault, I swear.
  • Awakened Visionist
  • **
  • Posts: 66
  • LV: 21
  • Gender: Male
  • It's a shroom.
    • View Profile
[XP] Escape-Enabling Skills
« on: March 06, 2010, 08:36:30 PM »
Escape-Enabling Skills
Authors: LilBrudder917
Version: 1.1
Type: Special Skill Effect
Key Term: Battle Add-on

Introduction

This script allows the player to use a skill to activate the Escape option in battle.

Features

  • Multiple Escaping Skills
  • Sound to be played if you can Escape
  • Sound to be played if you can't Escape
  • Can change Chances of Activating
  • Can use a Switch to disable Escape Attempts

Screenshots

N/A

Demo

Maybe later.

Script


(click to show/hide)

Instructions

Put below default scripts and above Main. Configure. Play.

Compatibility

May cause incompatibility problems with exotic Battle Systems.

Credits and Thanks

  • Me, for making it, I guess.

Author's Notes

I've had this idea for a while. Finally got around to making it. Enjoy.
« Last Edit: March 06, 2010, 10:57:12 PM by Breloom Trainer Brudder »

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] Escape-Enabling Skills
« Reply #1 on: March 06, 2010, 10:46:36 PM »
Why do you use so many global variables in your scripts?
(Not just talking about this one)

Offline lilbrudder917

  • SDK's fault, I swear.
  • Awakened Visionist
  • **
  • Posts: 66
  • LV: 21
  • Gender: Male
  • It's a shroom.
    • View Profile
Re: [XP] Escape-Enabling Skills
« Reply #2 on: March 06, 2010, 10:51:25 PM »
Because I'm not sure how to do it any other way.

When I make scripts, I just try to get them working.

EDIT: Updated to v1.1. Uses two less Global Variables because I thought of a way to check it differently that I should have noticed originally.
« Last Edit: March 06, 2010, 10:57:30 PM by Breloom Trainer Brudder »

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] Escape-Enabling Skills
« Reply #3 on: March 06, 2010, 11:03:25 PM »
*claps*
Good job for thinking alternatively.

Offline lilbrudder917

  • SDK's fault, I swear.
  • Awakened Visionist
  • **
  • Posts: 66
  • LV: 21
  • Gender: Male
  • It's a shroom.
    • View Profile
Re: [XP] Escape-Enabling Skills
« Reply #4 on: March 06, 2010, 11:29:35 PM »
And I thought of a way to rid of a lot of them from my CMS as well, so I'm going to post it up soon.

EDIT: It's up.  :P
« Last Edit: March 06, 2010, 11:50:28 PM by Breloom Trainer Brudder »

Offline nathmatt

  • Chaos User
  • ******
  • Posts: 1289
  • LV: 114
  • Gender: Male
  • The Add_on King
    • View Profile
    • Nathmatt Productions
Re: [XP] Escape-Enabling Skills
« Reply #5 on: April 02, 2010, 11:39:37 PM »
um this

Code: [Select]
if @active_battler.current_action.skill_id = Escaping_Skills::ESCAPE_SKILLS

should be this

Code: [Select]
if @active_battler.current_action.skill_id == Escaping_Skills::ESCAPE_SKILLS
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script
(click to show/hide)

Morganthedragon

  • Guest
Re: [XP] Escape-Enabling Skills
« Reply #6 on: May 13, 2012, 06:57:48 AM »
Mine is not working right...