- Spoiler
Code: Select all
with npc(sysval(param1))
.ysp=.ysp+0.26
if .ysp>8 then
.ysp=8
end if
if .stand=1 then
.ivala=.ivala+1
if .ivala=1 then
.xsp=0
end if
end if
if .ivala>=66*3 then
.ysp=-8
.xsp=1.5*(1-2*.facing)
.ivala=0
end if
end with
If I put the script(on spoiler) on npc-48 this always has an additional bounce(it is bad), this does not happen in other npc.
You can make npc 130 and 131 that when I put the script(on spoiler) it doesn't vibrate anymore.
Look at this custom npc vibra.






