レス書き込み
スレへ戻る
写
レス栞
レス消
☆ベルトアクション作成 Beats of rageスレッド☆
PC,スマホ,PHSは
ULA
べっかんこ
公式(スマホ)
公式(PC)
で書き込んでください。
名前
メール
引用切替:
レスアンカーのみ
>>163 > @script > if(frame==0) { float Vx, Vz, Vy=3, dx=0, dz=0; > void self = getlocalvar("self"); > int dir = getentityproperty(self, "direction"); > float x = getentityproperty(self, "x"); > float z = getentityproperty(self, "z"); > if (dir==0) { dx = -dx; } > setlocalvar("T"+self, findtarget(self)); > if( getlocalvar("T"+self) != NULL()){ > void target = getlocalvar("T"+self); > float Tx = getentityproperty(target, "x"); > float Tz = getentityproperty(target, "z"); > if(Tx < x) { changeentityproperty(self, "direction", 0); > } else { changeentityproperty(self, "direction", 1); } > x = x+dx; > z = z+dz; > Vx = ((Tx-x)/(22*Vy)); > Vz = ((Tz-z)/(22*Vy)); > } else { > Vx = 1 ; > if(dir==0){ Vx = -Vx ; } > Vz = 0 ; } > tossentity(self, Vy, Vx, Vz); } > @end_script > 他人様のアイデアを偉そうに紹介するのもアレなんですが、近くの敵に誘導ジャンプします。 > if(frame==0) { float Vx, Vz, Vy=3, dx=0, dz=0; > これで、Frame 0の時、ジャンプ力3(Vy=3)で届く範囲を索敵してジャンプします。 > 攻撃するかどうかは、Anim中に記述されたコマンド次第で、このままなら、 > 攻撃可能と設定した近くの対象にジャンプするだけです。
ローカルルール
SETTING.TXT
他の携帯ブラウザのレス書き込みフォームはこちら。
書き込み設定
で書き込みサイトの設定ができます。
・
ULA
・
べっかんこ(身代わりの術)
・
べっかんこ(通常)
・
公式(スマホ)
・
公式(PC)[PC,スマホ,PHS可]
書き込み設定(板別)
で板別の名前とメールを設定できます。
メモ帳
(0/65535文字)
上
下
板
覧
索
設
栞
歴
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.008s