☆ベルトアクション作成 Beats of rageスレッド☆ (656レス)
上
下
前
次
1-
新
96
: 2021/04/20(火)22:57
ID:N5Bx9E2D(1/2)
調
AA×
[240|
320
|
480
|
600
|
原寸
|
JPG
|
べ
|
レス栞
|
レス消
]
96: [sage] 2021/04/20(火) 22:57:09.31 ID:N5Bx9E2D @script { if (frame == 48) { void vEnt,self = getlocalvar("self"); int dx =100,dy=0,dz=0; int dir = getentityproperty(self, "direction"); int tgtdir = 0; if(dir==0) { dx = -dx; } setlocalvar("T"+self, findtarget(self)); void target = getlocalvar("T"+self); void TType = getentityproperty(target, "type"); tgtdir = getentityproperty(target, "direction"); if( getlocalvar("T"+self) != NULL()&&TType == openborconstant("TYPE_ENEMY")) { int Tx = getentityproperty(target, "x"); int Tz = getentityproperty(target, "z"); changeentityproperty(self, "position", Tx+dx, Tz+dz, dy); if (dir == 0) { if (Tx+dx > dx) { changeentityproperty(self, "direction", 1); } else { changeentityproperty(self, "direction", 0); } } else { if (Tx+dx > dx) { changeentityproperty(self, "direction", 0); } else { changeentityproperty(self, "direction", 1); } } } else { changeentityproperty(self, "animation", openborconstant("ANI_FAINT")); } } } @end_script http://mevius.5ch.net/test/read.cgi/gamedev/1547405874/96
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 560 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
ぬこの手
ぬこTOP
0.027s