じ☆ve冰风 发表于 2026-7-27 18:49:16

Action Sequence Loops 1.10

Action Sequence Loops 1.10
SergeofBIBEK​

Hey everyone! I made a plugin that I think would be useful to hardcore action sequence makers!

**Introduction**

This is a really simple plugin. It allows you to loop within action sequences.

**How to Set Up**

Place this plugin below YEP_BattleEnginCore.

**How To Loop Within Action Sequences**

To start a loop, use the following command:

                Code:       
WHILE condition


The condition is whatever you would put inside a normal JS while loop.

Then end the loop with the following command:

                Code:       
END WHILE


Here is an example:
                Code:       
   <Target Action>
   while user.mp > 100
   animation 5: target
   wait for animation
   action effect
   mp -100: user, show
   wait: 10
   end while
   </Target Action>

Pretty straight forward!

**Script**

*You can get the latest version here:*
(https://www.dropbox.com/s/s1b0r6oajmm3rwq/SergeofBIBEKActionSequenceLoops.js?dl=0)

**Credit and Thanks**

SergeofBIBEK (me!)

Trihan: He made me think of this from a conversation we had.

Yanfly: You couldn't even loop in Action Sequences without Yanfly's amazing Action Sequences plugins!!

**License:**

Free for any use, do whatever you want. Don't even have to credit me anywhere!


本贴来自国际rpgmaker官方论坛作者:SergeofBIBEK处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/action-sequence-loops-1-10.79043/
页: [1]
查看完整版本: Action Sequence Loops 1.10