Page 1 of 1

Boom Boom Quake

Posted: 16 Dec 2019, 0:33
by fnafan8888888888
I need a script that makes Boom Boom(NPC-15) do a quake whenever he lands on the ground (just like Sledge Bro).

Posted: 20 Dec 2019, 1:56
by Victor ManuelMR
fnafan8888888888 wrote:I need a script that makes Boom Boom(NPC-15) do a quake whenever he lands on the ground (just like Sledge Bro).

Do the following, use this script here:

Code: Select all

with npc(sysval(param1))
   if .ysp = 0 and val(Tremor) = 1 then
      call TCreate(Tremor, 1)
      val(Tremor) = 0
   elseif .ysp <> 0 then
      val(Tremor) = 1
      end if
      end with


Create an event called "Tremor" containing the special event (40) and a variable named "Tremor".
Apply Boom Boom script (with Parallel Execution enabled)
is READY.


Yes....gif

Posted: 20 Dec 2019, 2:08
by fnafan8888888888
Victor ManuelMR wrote:
fnafan8888888888 wrote:I need a script that makes Boom Boom(NPC-15) do a quake whenever he lands on the ground (just like Sledge Bro).

Do the following, use this script here:

Code: Select all

with npc(sysval(param1))
 if .ysp = 0 and val(Tremor) = 1 then
 call TCreate(Tremor, 1)
 val(Tremor) = 0
 elseif .ysp <> 0 then
 val(Tremor) = 1
 end if
 end with


Create an event called "Tremor" containing the special event (40) and a variable named "Tremor".
Apply Boom Boom script (with Parallel Execution enabled)
is READY.


Yes....gif
Thanks a lot, but there is a little bug: the event "Tremor" will trigger repeatedly when Boom Boom is on Slopes.