レス書き込み
スレへ戻る
写
レス栞
レス消
☆ベルトアクション作成 Beats of rageスレッド☆
PC,スマホ,PHSは
ULA
べっかんこ
公式(スマホ)
公式(PC)
で書き込んでください。
名前
メール
引用切替:
レスアンカーのみ
>>433 > void spawnentitybyallenemy(void vName, float fX, float fY, float fZ) > { void vEnt; //Entity placeholder. > int iType , iValid, iDead, iECnt, iEnt; //Entity counter. > int Tx = 0, Ty = 0, Tz = 0, Tdir = 0; > void spawned = 0; > void self = getlocalvar("self"); > iECnt = openborvariant("ent_max"); //Get current entity count. > for(iEnt=0; iEnt<iECnt; iEnt++) //Loop entity collection. > { vEnt = getentity(iEnt); //Get entity handle. > if(vEnt) //Valid handle? > { iValid = getentityproperty(vEnt, "exists"); //Get exists confirmation. > iDead = getentityproperty(vEnt, "dead"); //Get death status. > iType = getentityproperty(vEnt, "type"); //Get type. > if(vEnt && iValid && !iDead //Alive? > && iType == openborconstant("TYPE_ENEMY")) //Enemy type? > { Tx = getentityproperty(vEnt, "x"); > Ty = getentityproperty(vEnt, "a"); > Tz = getentityproperty(vEnt, "z"); > Tdir = getentityproperty(vEnt, "direction"); > if ( Tdir == 0 ) > { spawned = spawnchildentityforparent(vName, self, (Tx+fX), (Ty+fY), (Tz+fZ), 0); > changeentityproperty(spawned, "direction",1); > } else > { fX = -fX; > spawned = spawnchildentityforparent(vName, self, (Tx+fX), (Ty+fY), (Tz+fZ), 0); > changeentityproperty(spawned, "direction",0); > } } } } } > 画面上のHealth 0 以上の全ての敵の座標を取得して、その座標にEntityを出現させるスクリプト > > 動画のSpecial で全ての敵に物が降って来る演出に使っています。
ローカルルール
SETTING.TXT
他の携帯ブラウザのレス書き込みフォームはこちら。
書き込み設定
で書き込みサイトの設定ができます。
・
ULA
・
べっかんこ(身代わりの術)
・
べっかんこ(通常)
・
公式(スマホ)
・
公式(PC)[PC,スマホ,PHS可]
書き込み設定(板別)
で板別の名前とメールを設定できます。
メモ帳
(0/65535文字)
上
下
板
覧
索
設
栞
歴
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.040s