■19356 / inTopicNo.2) |
Re[1]: 未装備のアイテムの特定
|
□投稿者/ 明けの明星 -(2006/11/13(Mon) 19:35:25) [ID:VRG7TtXt]
| CountItem関数とItem関数を使い、Forコマンドで未装備個数をカウントしましょう。
Local TargetItem Local TargetItemNum Local i Set TargetItem "カウントするアイテム" Set TargetItemNum 0 For i = 0 to CountItem(未装備) If Item(未装備,i) = TargetItem Then Incr TargetItemNum EndIf Next
以上で出来るハズです。
|
|