☆ベルトアクション作成 Beats of rageスレッド☆ (656レス)
上
下
前
次
1-
新
282
(1)
: 2022/02/27(日)21:01
ID:ofDNDNVo(4/6)
調
AA×
[240|
320
|
480
|
600
|
100%
|
JPG
|
べ
|
レス栞
|
レス消
]
282: [sage] 2022/02/27(日) 21:01:29.27 ID:ofDNDNVo script @script void main() { void self = getlocalvar("self"); void attacker = getentityproperty(self,"parent"); void victim2 = getentityproperty(attacker, "opponent"); void victim = getentityproperty(victim2, "playerindex"); int HP = getentityproperty(self,"health"), HPmax = getentityproperty(self,"maxhealth"); int x1 = getentityproperty(attacker,"x"), z1 = getentityproperty(attacker,"z"); if(HP>=HPmax){ changeentityproperty(victim2, "position", x1, z1); performattack(victim2, openborconstant("ANI_FREESPECIAL")); setidle(attacker, openborconstant("ANI_IDLE")); bindentity(victim2, NULL()); performattack(attacker, openborconstant("ANI_PAIN")); setentityvar(self, "madjon", NULL()); killentity(self); } else if(playerkeys(victim, 2, "moveleft")){ // Left is pressed? changeentityproperty(self, "health", HP+4); } else if(playerkeys(victim, 2, "moveright")){ // Right is pressed? changeentityproperty(self, "health", HP+4); } else if(playerkeys(victim, 2, "attack")){ // Attack is pressed? changeentityproperty(self, "health", HP+2); } else if(playerkeys(victim, 2, "jump")){ // Jump is pressed? changeentityproperty(self, "health", HP+6); } } @end_script これが心臓部で、レバガチャEntityのヘッダー部に記述すると、このEntityが存在しているあいだ実行され続けます。 で、Anim Idleにレバガチャの画像を表示させればOK、上のスクリプトだと、Healthを増やしてMaxHealthまで行ったら脱出ですね。 http://mevius.5ch.net/test/read.cgi/gamedev/1547405874/282
これが心臓部でレバガチャのヘッダー部に記述するとこのが存在しているあいだ実行され続けます で にレバガチャの画像を表示させれば上のスクリプトだとを増やしてまで行ったら脱出ですね
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 374 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
ぬこの手
ぬこTOP
0.042s