☆ベルトアクション作成 Beats of rageスレッド☆ (654レス)
上下前次1-新
抽出解除 必死チェッカー(本家) (べ) 自ID レス栞 あぼーん
422(1): 名前は開発中のものです。 [sage] 2022/08/27(土) 01:15:34.53 ID:TnfcNmnm(1) AAS
didhitscript @script
void main() {
void self = getlocalvar("self");
void tar = getlocalvar("damagetaker");
void anims = getentityproperty(self,"animationid");
void dir = getentityproperty(self,"direction");
if(tar != NULL()) {
if ( anims == openborconstant("ANI_Special2") )
{
if (dir==0) { tossentity(tar, 2.2, -0.8, 0); }
else { tossentity(tar, 2.2, 0.8, 0); }
} } }
@end_script
普通は animationscript data/scripts/script.c
こんな感じに別なテキストファイルを用意したりしますが、直接キャラファイルに
書き込んでも機能します。
上の例では、Anim Special2 が実行されている間、攻撃が当たるたび相手が浮くというもの
いわゆるお手玉ですね。相手のAnim Fall が短かったり無敵になったりすると
落としてしまいますが、連続技の演出に便利です。
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.021s