Page 1 of 1

Smbx 1.4.5: 2 inconveniences npc(fixed path 21)

Posted: 3 Sep 2019, 3:11
by NESTED ERNEST
1) npc very abusive
The npc-261 is very abusive / fast: when I put the Fiery walking piranha option and the don't move option, it shoots everywhere and it also jumps, and makes it unfair; when the npc has the option Fiery walking piranha should not be able to jump.

Spoiler
Image

This is how it should work, its fireballs should not be random.

Spoiler
Image

Here is the script for an npc (which must be the fireball launched by npc 261) to fall on player 1.

Spoiler
with npc(sysval(param1))
.ysp=.ysp+0.26
if .ysp>8 then
.ysp=8
end if

if .ivalb=0 then
.ysp=-8

.langle=char(1).y+char(1).pheight-.y-.height
if .langle>=-123.07692307692307692307692307692 then
.langle=16/0.26+.langle/8
if .langle=0 then
.langle=0.0001
end if
else
.langle=16/0.26
end if

.xsp=(char(1).x+char(1).pwidth/2-.x-.width/2)/.langle

if .xsp>4 then
.xsp=4
elseif .xsp<-4 then
.xsp=-4
end if
.ivalb=1
end if

end with

2) Since you could not solve (although I know that you can) the number 2 of this link **, I have decided to program a thwomp for myself BUT I lose its option/effect of SCREEN SHAKE, could you please add a special event called [55] Thwomp.Shake (or something like that) is not the same as [40]Screen.Tremor since the latter makes the player shiver/vibrate.

I have not decided to program with parallel execution because sometimes this npc "disobeys".