查看: 6141|回复: 11

[已经解决] 有关于处理物品选择的事件命令

[复制链接]
梦石
0
星屑
572
在线时间
242 小时
注册时间
2011-7-17
回帖
79
发表于 2014-10-30 23:13:32 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
有没有办法 使该命令只显示指定的几个物品来选择    或者是 有没有类似这种命令的开关或变量的选择   另外再问一下 可不可以 在菜单的贵重物品里隐藏显示几个指定的已拥有的贵重物品
梦石
0
星屑
342
在线时间
377 小时
注册时间
2013-1-30
回帖
162
发表于 2014-10-31 07:49:02 | 显示全部楼层
如果只是几个物品的话,推荐楼主还是用选项来选择送礼吧,另外附上拓展选项及开关控制的隐藏选项的脚本,使用方法为选项后接上 if(s[X]),X为开关的编号,这样只有该开关打开时才会出现这个选项
  1. =begin

  2. ▼ 選択肢拡張 ver 1.3

  3. RPGツクールVXAce用スクリプト

  4. 制作 : 木星ペンギン
  5. URL  : http://woodpenguin.blog.fc2.com/

  6. ------------------------------------------------------------------------------
  7. 概要

  8. □ 選択肢を連続して設定した場合、つなげて一つの選択肢にする機能の追加。
  9. □ 条件を設定することで、その項目を表示しない機能の追加。
  10. □ 選択肢内容が前回と同じだった場合、
  11.     カーソルの初期位置を前回選んだ項目にする機能の追加。

  12. ------------------------------------------------------------------------------
  13. 使い方

  14. □ 選択肢を繋げる方法
  15.   ・選択肢の表示を続けて配置すると、一つの選択肢にまとめられます。
  16.   ・まとめたくない場合は、間に注釈などを入れることで通常通り分けることができます。
  17.   ・「キャンセルの場合」の処理は、無効以外を設定したものが適用されます。
  18.   ・「キャンセルの場合」の処理が複数ある場合、
  19.    あとに設定された選択肢のものが適用されます。
  20.   
  21. □ 条件によって、項目を表示させない方法
  22.   ・選択肢の文章の最後に if(条件) と書くことで、
  23.    その条件が偽になると項目が表示されなくなります。
  24.   ・s でスイッチを参照できます。
  25.      (例 : if(s[3]) でスイッチ番号 3 が ON のとき項目が表示されます)
  26.   ・v で変数を参照できます。
  27.      (例 : if(v[5] >= 4) で変数番号 5 が 4 以上のとき項目が表示されます)
  28.   ・これらの条件は eval によって判定されてるので、and や or なども使用できます。
  29.   ・この機能により選択肢の項目数が 0 となった場合、
  30.    何も選択しなかったことになります。
  31.    「キャンセルの場合」の処理が適用されるわけではありません。
  32.   ・この機能により「キャンセルの場合」の項目が表示されない場合、
  33.    無効と同じ処理をします。

  34. =end
  35. module Wooden
  36. module ChoiceEX
  37. #//////////////////////////////////////////////////////////////////////////////
  38. #
  39. # 設定項目
  40. #
  41. #//////////////////////////////////////////////////////////////////////////////
  42.   #--------------------------------------------------------------------------
  43.   # ● 選択肢の最大行数
  44.   #     選択肢を表示するウィンドウの行数の最大数です。
  45.   #     選択肢がこの数より小さければ、通常通り行数は少なくなります。
  46.   #--------------------------------------------------------------------------
  47.   LineMax = 4
  48.   
  49.   #--------------------------------------------------------------------------
  50.   # ● 選択肢の位置記憶
  51.   #     前回表示した選択肢と全く同じ内容の選択肢を表示する場合、
  52.   #     カーソルの初期位置を前回選んだ項目にする機能です。
  53.   #     false で無効化できます。
  54.   #--------------------------------------------------------------------------
  55.   Store = true
  56.   
  57. end
  58. end

  59. #//////////////////////////////////////////////////////////////////////////////
  60. #
  61. # 以降、変更する必要なし
  62. #
  63. #//////////////////////////////////////////////////////////////////////////////

  64. #==============================================================================
  65. # ■ Game_Interpreter
  66. #==============================================================================
  67. class Game_Interpreter
  68.   #--------------------------------------------------------------------------
  69.   # ☆ 選択肢のセットアップ
  70.   #--------------------------------------------------------------------------
  71.   def setup_choices(params)
  72.     result = []
  73.     add_choices(params, @index, result)
  74.     unless $game_message.choices.empty?
  75.       result << $game_message.choice_cancel_type - 1
  76.       $game_message.choice_proc = Proc.new {|n| @branch[@indent] = result[n] }
  77.     else
  78.       @branch[@indent] = -1
  79.     end
  80.   end
  81.   #--------------------------------------------------------------------------
  82.   # ● 選択肢の追加
  83.   #--------------------------------------------------------------------------
  84.   def add_choices(params, i, result, d = 0)
  85.     params[0].each_with_index do |s, n|
  86.       choice = s.dup
  87.       next if choice.slice!(/\s*if\((.+)\)$/i) && !choice_eval($1)
  88.       $game_message.choices << choice
  89.       result << n + d
  90.     end
  91.     if params[1] == 5 || (params[1] > 0 && result.include?(params[1] + d - 1))
  92.       $game_message.choice_cancel_type = params[1] + d
  93.     end
  94.     indent = @list[i].indent
  95.     i += 1 until @list[i].code == 404 && @list[i].indent == indent
  96.     i += 1
  97.     add_choices(@list[i].parameters, i, result, d + 5) if @list[i].code == 102
  98.   end
  99.   #--------------------------------------------------------------------------
  100.   # ● 分岐終了の場合
  101.   #--------------------------------------------------------------------------
  102.   def choice_eval(formula)
  103.     s = $game_switches
  104.     v = $game_variables
  105.     begin
  106.       Kernel.eval(formula)
  107.     rescue
  108.       msgbox "以下の条件判定でエラーが出ました。\n\n", formula
  109.       true
  110.     end
  111.   end
  112.   #--------------------------------------------------------------------------
  113.   # ● 分岐終了の場合
  114.   #--------------------------------------------------------------------------
  115.   def command_404
  116.     if next_event_code == 102
  117.       @branch[@indent] -= 5
  118.       @index += 1
  119.       command_skip
  120.     end
  121.   end
  122. end

  123. #==============================================================================
  124. # ■ Window_ChoiceList
  125. #==============================================================================
  126. class Window_ChoiceList
  127.   #--------------------------------------------------------------------------
  128.   # ● 指定行数に適合するウィンドウの高さを計算
  129.   #--------------------------------------------------------------------------
  130.   def fitting_height(line_number)
  131.     super([line_number, Wooden::ChoiceEX::LineMax].min)
  132.   end
  133.   #--------------------------------------------------------------------------
  134.   # ☆ 入力処理の開始
  135.   #--------------------------------------------------------------------------
  136.   def start
  137.     last_choices = @list.collect {|c| c[:name] }
  138.     update_placement
  139.     unless Wooden::ChoiceEX::Store && last_choices == $game_message.choices
  140.       refresh
  141.       select(0)
  142.     end
  143.     open
  144.     activate
  145.   end
  146.   #--------------------------------------------------------------------------
  147.   # ☆ キャンセルハンドラの呼び出し
  148.   #--------------------------------------------------------------------------
  149.   def call_cancel_handler
  150.     $game_message.choice_proc.call(item_max)
  151.     close
  152.   end
  153. end
复制代码
回复

使用道具 举报

无限の剣制

梦石
0
星屑
10445
在线时间
5019 小时
注册时间
2013-2-28
回帖
4942

开拓者贵宾

发表于 2014-10-31 11:36:53 | 显示全部楼层
https://rpg.blue/forum.php?mod=redirect&goto=findpost&ptid=373105&pid=2562014
物品栏要隐藏道具的话就插入这段脚本
  1. class Window_ItemList < Window_Selectable
  2.   alias hide_include? include?
  3.   def include?(item)
  4.     hide_include?(item) && !item.note.include?("<key_hide>")
  5.   end
  6. end
复制代码
然后在需要隐藏的物品的备注栏备注<key_hide>
回复

使用道具 举报

闇吼者の災悪眷族

梦石
0
星屑
1366
在线时间
2881 小时
注册时间
2014-7-29
回帖
6408
发表于 2014-10-31 13:32:16 | 显示全部楼层
这种物品选择功能大扩张的脚本我有一个推荐。

该脚本来源于日站:CACAO SOFT
地址为:http://cacaosoft.web.fc2.com/
为本站授权推广素材站
该站有墙,且禁止二次发布,这次我搬运一次给你,之后如果有类似情况请到站点自取。

该脚本可以做到物品选择任何道具,
物品选择可以以任何形式过滤选择的道具。
我觉得这个脚本可以完美的达到你的要求。
脚本不要的部分已经帮你翻译了。

点击展开/收起#******************************************************************************
#
#    * アイテム選択の処理
#
#  --------------------------------------------------------------------------
#    バージョン : 1.2.0
#    対      応 : RPGツクールVX Ace : RGSS3
#    制  作  者 : CACAO
#    配  布  元 : http://cacaosoft.webcrow.jp/
#  --------------------------------------------------------------------------
#   == 概    要 ==
#
#   : キーアイテム以外のものも選べるようにします。   可以选择贵重物品以外的物品
#   : ヘルプウィンドウを表示する機能を追加します。   在物品选择界面追加介绍窗口
#
#  --------------------------------------------------------------------------
#   == 注意事項 ==
#
#    ※ 変数には、IDではなくアイテムのデータが代入されます。   现在直接赋值到变量中的不是物品的id,而是物品的数据。
#    ※ 選択しなかった場合は 0 が代入されます。            没有进行选择的情况下会给变量赋值 0
#
#  --------------------------------------------------------------------------
#   == 使用方法 ==
#
#    ★ 選択アイテムの設定する         
#     $game_message.item_choice_category にキーワードを代入してください。
#     :all      .. すべての所持品    所有持有物
#     :all_item .. すべてのアイテム  所有物品(普通以及贵重)
#     :item     .. キーアイテム以外のアイテム  普通物品
#     :weapon   .. すべての武器 所有武器
#     :armor    .. すべての防具 所有防具
#     :equip    .. 武器と防具 武器和防具
#     :sell     .. キーアイテム以外で価格が0でないもの   贵重物品以外价格不是0的物品
#     "keyword" .. メモ欄に <keyword> と書かれているもの
#     以上在事件脚本中执行 $game_message.item_choice_category =  :all 然后进行物品选择处理,就会对可以选择的物品进行分类。
#     如果是"keyword"的形式
#     在物品备注中写<keyword>,然后在$game_message.item_choice_category =“keyword” 。 接着物品选择处理就只能选择备注了<keyword>的物品。
#    “”中可以是任何你所设置的单词。
#
#    ★ ショップアイテムから選択する      这个功能用起来很复杂,我觉得你大概也用不到,就不做说明了,如果想要了解请前往原址。
#     $game_message.item_choice_from_goods = true
#     このスクリプトを実行後、ショップの処理でアイテムを設定してください。
#
#    ★ 所持数を非表示にする   在事件脚本中输入这一句,物品选择的时候将不会显示物品的持有数。
#     $game_message.item_choice_hide_number = true
#   
#    ★ キャンセルを無効にする  在事件脚本中输入这一句,物品选择处理无法按X取消
#     $game_message.item_choice_cancel_disabled = true
#
#    ★ 未所持アイテムも表示する 在事件脚本中输入这一句,物品选择处理会将没有获得物品也显示出来
#     $game_message.item_choice_show_nothing = true
#
#    ※ 上記4つの設定は、アイテム選択の処理後に初期化されます。
#
#    ★ アイテム選択ウィンドウの行数を変更する 在事件脚本中输入这一句,物品选择窗口的行数会变成你所设置的“行数”
#     $game_message.item_choice_line = 行数
#
#    ★ ヘルプウィンドウの行数を変更する 在事件脚本中输入这一句,介绍窗口的行数会变成你所设置的“行数”
#     $game_message.item_choice_help_line = 行数
#     ※ 0 のときは、ヘルプウィンドウが非表示になります。 “行数”为0时,介绍窗口将不会显示
#
#    ★ カテゴリのアイテム所持数を取得する
#     $game_party.item_count(category)
#     category は、$game_message.item_choice_category と同じものです。
#
#
#******************************************************************************


#==============================================================================
# ◆ 設定項目
#==============================================================================
module CAO
module ItemChoice
  
  #--------------------------------------------------------------------------
  # ◇ 種類によるIDの増加値
  #--------------------------------------------------------------------------
  PLUS_ID = 0
  # 重要!这个值是设置物品选择处理给变量赋值的方法。如果设置为“1” 那么选择物品时变量赋值相当于物品的id,武器为id+10,防具是id*2
  # 我建议设置成1,如果是0则获得该物品的所有数据信息,使用会很复杂。
  #--------------------------------------------------------------------------
  # ◇ 行数の設定 (初期値)
  #--------------------------------------------------------------------------
  ITEM_LINE = 4      # アイテム選択ウィンドウ   这个里是设置物品选择窗口的默认行数
  HELP_LINE = 0       # ヘルプウィンドウ ( 0 のとき非表示)   这个是介绍窗口的默认行数
  #--------------------------------------------------------------------------
  # ◇ 表示位置の設定
  #--------------------------------------------------------------------------
  POS_TOP = false
   #这个设置物品选择窗口的位置,false是在下方,true则在上方。

end # module ItemChoice
end # module CAO


#/////////////////////////////////////////////////////////////////////////////#
#                                                                             #
#                下記のスクリプトを変更する必要はありません。                 #
#                                                                             #
#/////////////////////////////////////////////////////////////////////////////#


class CAO::Dummy_ItemList < Window_ItemList
  #--------------------------------------------------------------------------
  # ● メソッド定義の取り消し
  #--------------------------------------------------------------------------
  # undef_method *self.superclass.instance_methods(false)
  # def include?(item); super; end
  #--------------------------------------------------------------------------
  # ● オブジェクト初期化
  #--------------------------------------------------------------------------
  def initialize
    @category = :none
  end
  #--------------------------------------------------------------------------
  # ● カテゴリのアイテム所持数を取得
  #--------------------------------------------------------------------------
  def count(category)
    @category = category
    return $game_party.all_items.count {|item| include?(item) }
  end
end

class Game_Party
  #--------------------------------------------------------------------------
  # ● カテゴリのアイテム所持数を取得
  #--------------------------------------------------------------------------
  def item_count(category)
    return CAO::Dummy_ItemList.new.count(category)
  end
end

class Game_Message
  #--------------------------------------------------------------------------
  # ● 公開インスタンス変数
  #--------------------------------------------------------------------------
  attr_accessor :item_choice_category         # アイテム選択 カテゴリ
  attr_accessor :item_choice_from_goods       # アイテム選択 商品から選択
  attr_accessor :item_choice_goods            # アイテム選択 選択アイテム
  attr_accessor :item_choice_hide_number      # アイテム選択 所持数非表示
  attr_accessor :item_choice_cancel_disabled  # アイテム選択 キャンセル無効
  attr_accessor :item_choice_show_nothing     # アイテム選択 未所持でも表示
  attr_accessor :item_choice_line             # アイテム選択 行数
  attr_accessor :item_choice_help_line        # アイテム選択 ヘルプの行数
  #--------------------------------------------------------------------------
  # ●
  #--------------------------------------------------------------------------
  def clear_item_choice
    @item_choice_category = :key_item
    @item_choice_from_goods = false
    @item_choice_goods = []
    @item_choice_hide_number = false
    @item_choice_cancel_disabled = false
    @item_choice_show_nothing = false
  end
end

class Game_Interpreter
  #--------------------------------------------------------------------------
  # ○ ショップの処理
  #--------------------------------------------------------------------------
  alias _cao_itemchoice_command_302 command_302
  def command_302
    if $game_message.item_choice_from_goods
      goods = [@params]
      while next_event_code == 605
        @index += 1
        goods.push(@list[@index].parameters)
      end
      $game_message.item_choice_goods = []
      goods.each do |param|
        case param[0]
        when 0; item = $data_items[param[1]]
        when 1; item = $data_weapons[param[1]]
        when 2; item = $data_armors[param[1]]
        end
        $game_message.item_choice_goods.push(item) if item
      end
    else
      _cao_itemchoice_command_302
    end
  end
end
  
class Window_ItemList
  #--------------------------------------------------------------------------
  # ○ アイテムをリストに含めるかどうか
  #--------------------------------------------------------------------------
  alias _cao_itemchoice_include? include?
  def include?(item)
    case @category
    when String
      return item && item.note.include?("<#{@category}>")
    when :all
      return item != nil
    when :all_item
      return item.kind_of?(RPG::Item)
    when :equip
      return item.kind_of?(RPG::Weapon) || item.kind_of?(RPG::Armor)
    when :sell
      return false if item == nil
      return false if item.respond_to?(:key_item?) && item.key_item?
      return false if item.price == 0
      return true
    else
      return _cao_itemchoice_include?(item)
    end
  end
end

class Window_KeyItem
  #--------------------------------------------------------------------------
  # ◎ オブジェクト解放
  #--------------------------------------------------------------------------
  def dispose
    @help_window.dispose if @help_window
    super
  end
  #--------------------------------------------------------------------------
  # ◎ ウィンドウを開く
  #--------------------------------------------------------------------------
  def open
    @help_window.open if @help_window
    super
  end
  #--------------------------------------------------------------------------
  # ◎ ウィンドウを閉じる
  #--------------------------------------------------------------------------
  def close
    @help_window.close if @help_window
    super
  end
  #--------------------------------------------------------------------------
  # ◎ アイテムリストの作成
  #--------------------------------------------------------------------------
  alias _cao_itemchoice_make_item_list make_item_list unless $!
  def make_item_list
    if $game_message.item_choice_show_nothing
      if $game_message.item_choice_from_goods
        @data = $game_message.item_choice_goods
      else
        items = $data_items + $data_weapons + $data_armors
        @data = items.select {|item| include?(item) }
      end
    else
      if $game_message.item_choice_from_goods
        @data = $game_party.all_items & $game_message.item_choice_goods
      else
        # super
        _cao_itemchoice_make_item_list
      end
    end
    create_help_window
  end
  #--------------------------------------------------------------------------
  # ●
  #--------------------------------------------------------------------------
  def create_help_window
    $game_message.item_choice_line ||= CAO::ItemChoice::ITEM_LINE
    $game_message.item_choice_help_line ||= CAO::ItemChoice::HELP_LINE
    @help_window.dispose if @help_window
    if $game_message.item_choice_help_line != 0
      self.help_window = Window_Help.new($game_message.item_choice_help_line)
      @help_window.openness = 0
      @help_window.open
    end
    self.height = fitting_height($game_message.item_choice_line)
    update_placement
  end
  #--------------------------------------------------------------------------
  # ○ アイテムを許可状態で表示するかどうか
  #--------------------------------------------------------------------------
  def enable?(item)
    return true
  end
  #--------------------------------------------------------------------------
  # ●
  #--------------------------------------------------------------------------
  def variable=(value)
    $game_variables[$game_message.item_choice_variable_id] = value
  end
  #--------------------------------------------------------------------------
  # ○ 決定時の処理
  #--------------------------------------------------------------------------
  def on_ok
    if self.item == nil
      self.variable = 0
    elsif CAO::ItemChoice::PLUS_ID > 0
      self.variable = self.item.id
      case self.item
      when RPG::Weapon
        self.variable += CAO::ItemChoice::PLUS_ID
      when RPG::Armor
        self.variable += CAO::ItemChoice::PLUS_ID * 2
      end
    else
      self.variable = self.item
    end
    close
  end
  #--------------------------------------------------------------------------
  # ○ キャンセル処理の有効状態を取得
  #--------------------------------------------------------------------------
  def cancel_enabled?
    return false
  end
  #--------------------------------------------------------------------------
  # ◎ フレーム更新
  #--------------------------------------------------------------------------
  alias _cao_itemchoice_update update unless $!
  def update
    # super
    _cao_itemchoice_update
    @help_window.update if @help_window
    if open? && self.active && Input.trigger?(:B)
      Input.update
      if $game_message.item_choice_cancel_disabled
        Sound.play_buzzer
      else
        Sound.play_cancel
        deactivate
        on_cancel
      end
    end
  end
  #--------------------------------------------------------------------------
  # ○ ウィンドウ位置の更新
  #--------------------------------------------------------------------------
  def update_placement
#~     if $game_message.item_choice_help_line == 0
#~       help_height = 0
#~     else
#~       help_height = @help_window.height
#~     end
    if CAO::ItemChoice::POS_TOP
      if @message_window.close?
#~         self.y = help_height
        self.y = 0
      elsif self.height < @message_window.y
        self.y = 0
      else
        self.y = @message_window.y + @message_window.height
      end
    else
      mbh = Graphics.height - (@message_window.y + @message_window.height)
#~       if @message_window.close?
#~         self.y = Graphics.height - self.height
#~       elsif self.height + help_height < mbh
#~         self.y = Graphics.height - self.height
#~       else
#~         self.y = @message_window.y - self.height
#~       end
    end
#~     if $game_message.item_choice_help_line != 0
#~       @help_window.y = self.y - @help_window.height
#~     end
  end
  #--------------------------------------------------------------------------
  # ○ アイテムの個数を描画
  #--------------------------------------------------------------------------
  alias _cao_itemchoice_draw_item_number draw_item_number
  def draw_item_number(rect, item)
    return if $game_message.item_choice_hide_number
    _cao_itemchoice_draw_item_number(rect, item)
  end
end

class Window_Message
  #--------------------------------------------------------------------------
  # ○ アイテムの選択処理
  #--------------------------------------------------------------------------
  def input_item
    @item_window.start
    @item_window.category = ($game_message.item_choice_category || :key_item)
    Fiber.yield while @item_window.active
    $game_message.clear_item_choice
  end
end

评分

参与人数 1梦石 +1 收起 理由
taroxd + 1 认可答案

查看全部评分

回复

使用道具 举报

梦石
0
星屑
572
在线时间
242 小时
注册时间
2011-7-17
回帖
79
 楼主| 发表于 2014-10-31 20:40:03 | 显示全部楼层
三途亚梦 发表于 2014-10-31 13:32
这种物品选择功能大扩张的脚本我有一个推荐。

该脚本来源于日站:CACAO SOFT

Game_Interpreter的1411行:    eval(script)   出错

点评

能帮帮忙吧 我直接是复制上脚本里注释上的脚本命令行 到底哪里不对啊  发表于 2014-10-31 21:10
怎么回事? 我这样写的事件不对的吗? 脚本都看了好几遍了  发表于 2014-10-31 21:04
我事件是写的 脚本$game_message.item_choice_hide_number = true 脚本$game_message.item_choice_category =“keyword” 处理物品选择【变量?...   发表于 2014-10-31 20:55
你的事件脚本没写对,再好好看看注释是怎么说的  发表于 2014-10-31 20:41
回复

使用道具 举报

梦石
0
星屑
572
在线时间
242 小时
注册时间
2011-7-17
回帖
79
 楼主| 发表于 2014-10-31 20:49:01 | 显示全部楼层
三途亚梦 发表于 2014-10-31 13:32
这种物品选择功能大扩张的脚本我有一个推荐。

该脚本来源于日站:CACAO SOFT

显示说   unexpected‘=’,expecting$end=“keyword”
回复

使用道具 举报

梦石
0
星屑
572
在线时间
242 小时
注册时间
2011-7-17
回帖
79
 楼主| 发表于 2014-10-31 20:56:19 | 显示全部楼层
我事件是写的  脚本$game_message.item_choice_hide_number = true
                    脚本$game_message.item_choice_category =“keyword”
                   处理物品选择【变量?】
                    条件分歧 当变量=?时

点评

果然是自动换行害的··· 把自动下来的移上去就解决了····  发表于 2014-10-31 21:15
我实测没有碰到任何问题,你确定一下是不是事件脚本奇葩的自动换行导致的错误。  发表于 2014-10-31 21:01
回复

使用道具 举报

梦石
0
星屑
572
在线时间
242 小时
注册时间
2011-7-17
回帖
79
 楼主| 发表于 2014-10-31 20:57:39 | 显示全部楼层
qq1014850720 发表于 2014-10-31 20:56
我事件是写的  脚本$game_message.item_choice_hide_number = true
                    脚本$game_message ...

我将设置里改成了 变量是物品ID    PLUS_ID = 1
回复

使用道具 举报

梦石
0
星屑
572
在线时间
242 小时
注册时间
2011-7-17
回帖
79
 楼主| 发表于 2014-10-31 21:11:54 | 显示全部楼层
三途亚梦 发表于 2014-10-31 13:32
这种物品选择功能大扩张的脚本我有一个推荐。

该脚本来源于日站:CACAO SOFT

层主在吗? 为什么会报错  下面说事件脚本没写对 我脚本句明明是从注释里复制的啊

点评

解决了 多谢了 果然是自动换行弄的  发表于 2014-10-31 21:18
现在解决了是吗?  发表于 2014-10-31 21:17
回复

使用道具 举报

无限の剣制

梦石
0
星屑
10445
在线时间
5019 小时
注册时间
2013-2-28
回帖
4942

开拓者贵宾

发表于 2014-10-31 21:12:33 | 显示全部楼层
qq1014850720 发表于 2014-10-31 20:57
我将设置里改成了 变量是物品ID    PLUS_ID = 1

https://rpg.blue/thread-276636-1-1.html
试试这个,(链接没错,不用质疑
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部