Project1

标题: YEP Action Sequence Pack 問題 [打印本页]

作者: jack2396    时间: 2017-11-28 11:53
标题: YEP Action Sequence Pack 問題
本帖最后由 jack2396 于 2017-11-30 23:27 编辑

使用了YEP大的Action Sequence Pack 1想要試著弄出個一次動畫 3次傷害的技能在技能的註解裡寫了下列敘述
JAVASCRIPT 代码复制
  1. <target action>
  2. perform action
  3. motion wait: user
  4. action animation
  5. wait for animation
  6. action effect
  7. action effect
  8. action effect
  9. death break
  10. </target action>

示例如下:(GIF 需要較長時間加載)


可是,總是會播放出兩次動畫,分別產生1次和3次傷害,但是這個技能是不會重複的技能
想請問為什麼會這樣?又該怎麼解決?



作者: 梦想家大魔王    时间: 2017-11-28 15:49
在多个“action effect”之间插入“wait: 20”(20是等待的帧数,这里只是举个例子,具体需要多少你自己调试后看着办)。
作者: 梦想家大魔王    时间: 2017-11-28 18:27
问题在那个"perform action"与“action animation”,你看看说明就了解了。
作者: jack2396    时间: 2017-11-30 23:27
又有了新問題

<Multiple Elements: 2>
<whole action>
immortal: targets, true
camera clamp on
hide battle hud
move user: forward, -400
tint screen: 255, 255, 255, 0
wait: 60
motion wait: friends not user
move user: home
tint screen: normal
camera focus: user
zoom: 200%
motion chant: user
float user: 100%, 60
wait for float
animation 122: user
wait for animation
flash screen: white, 30
reset zoom: 30
reset camera
animation 132: all enemies
wait: 25
action effect
death break
wait: 30
action effect
death break
wait: 30
action effect
death break
wait: 30
action effect
death break
wait: 30
death break
add state 21: all enemies
animation 54: all enemies
wait for animation
show battle hud
reset zoom
float user: 0% , 60
wait for float
camera clamp off
immortal: targets, false
death break
</whole action>

這串執行結束後會再進行一次攻擊 該怎麼辦?




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1