Hello! It is working so cool.
I am testing with success mixed with ZTBS "zenith tactical battle system"
But i have no idea how to mend this:
#==============================================================================
# Zenith Tactical Battle System
# Skill Range
#------------------------------------------------------------------------------
# This scene defines skill range, such as distance, size etc
#==============================================================================
module RPG
class Skill
def range
case @id
#==============================================================================
# ↓↓Add your skills below to make them fully defined in battle↓↓
#==============================================================================
#------------------------------------------------------------------------------
# when Skill ID
# targetarea = [direction, range, enemy passibility, long range]
# cursor = [direction, range, enemy passibility, selected cursor]
#------------------------------------------------------------------------------
#
# Set Up
#
# Direction
# 0 : . Shape
# 1 : + Shape
# 2 : Filled 十 Shape
# 3 : Surround 十 Shape
#
# Range
# 0 = Square your characters on
# 1 = 1 more onto 0
# 2 = 1 more onto 1
# 3 = 1 more onto 2
# Etc etc
#
# Enemy Passibility
# true : The Skill Can Pass Through The Enemny
# false : The Skill Cannot Pass Through The Enemy
#
# Long Range
# true : Stops you from using the spell on people right next to you
# false : Allows you to use spells next to you
#
# Enemy Passibility (Only activated if the target are one is)
# Note: This really doesn't matter at all aslong aas you set it for the
# target area Enemy Passibility
#
# true : As above
# false : As above
#
# Selected Cursor
# true : This will make it so that the main cursor has to be selected on
# a character to use the spell rather then its range.
#
# false : This makes sure that the spell can be used by the cursors range
# instead of having to put the main cursor on a character to use.
#
#==============================================================================
# Define your spells, just use the format above to define your spells
#==============================================================================
Here I will play "pirate.swf" When you choose skill id 1 in tactical battle.
I Think this is not best room for the call script. Maybe its better when the player press Enter selecting the skill id1 But I have no clue how to do that.
when 1 # When Skill ID 1
targetarea = [0, 3, true, false] <--- Shows the skill area...
$flash.play("Pirate.swf", 1)
$game_switches[1579] = true
HERE i call teh script and its working but the video is playing two times.
How can i modify that to play only one time.?
I have no scripting skills so please any help will be great.
when 3 # When Skill ID 1
targetarea = [3, 3, true, false]
when 7 # When Skill ID 7
targetarea = [0, 3, true, false]
cursor = [0, 1, false, false]
when 6 # When Skill ID 6
targetarea = [0, 5, true, false]
when 16 # When Skill ID 16
targetarea = [0, 3, true, false]
cursor = [0, 1, false, false]
when 57 # When Skill ID 57
targetarea = [1, 2, false, false]
cursor = [1, 1, false, true]
when 73 # When Skill ID 73
targetarea = [0, 4, true, true]
#==============================================================================
# If not defined, use as default
#==============================================================================
end
targetarea = [0, 1, false, false] if targetarea == nil
cursor = [0, 0, true, true] if cursor == nil
return [targetarea, cursor]
end
end
end
THANKS IN ADVANCED.