☆ベルトアクション作成 Beats of rageスレッド☆ (656レス)
前次1-
抽出解除 必死チェッカー(本家) (べ) レス栞 あぼーん

22: 2021/02/21(日)22:41 ID:ke3KkwTC(1)調 AAS
便利なスクリプト、敵との距離によって技の変化とか
anim runattack
loop 0
@script
void self = getlocalvar("self");
void target = findtarget(self);
int x1 = getentityproperty(target, "x");
int x2 = getentityproperty(self, "x");
int z1 = getentityproperty(target, "z");
int z2 = getentityproperty(self, "z");
if(frame == 0){
if(z1-z2<20 && z1-z2>-20 && x1-x2>-80 && x1-x2<80){
changeentityproperty(self, "animation", openborconstant("ANI_FREESPECIAL4"));
}else
if(z1-z2<20 && z1-z2>-20 && x1-x2>-160 && x1-x2<160){
changeentityproperty(self, "animation", openborconstant("ANI_FREESPECIAL"));
}
}
@end_script
ダッシュ(→x2)中に攻撃した場合、敵との距離を測ってFREESPECIAL4と
FREESPECIALを距離によって発動するというもの。
毎度おなじ動作ばかりだと飽きやすくなるので、アクセントにどうぞ。
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 2.159s*