Boom Boom Quake

Description: Have idea for a script, but you can't make it? Post it here!
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

fnafan8888888888 M
Topic author, Duke
Duke
fnafan8888888888 M
Topic author, Duke
Duke
Age: 17
Reputation: 13
Posts: 141
Joined: 30 Jun 2019

Post #1by fnafan8888888888 » 16 Dec 2019, 0:33

I need a script that makes Boom Boom(NPC-15) do a quake whenever he lands on the ground (just like Sledge Bro).

Victor ManuelMR
Our friend
Our friend
Avatar
Victor ManuelMR
Our friend
Our friend
Reputation: 27
Posts: 53
Joined: 7 Feb 2018

Post #2by Victor ManuelMR » 20 Dec 2019, 1:56

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

fnafan8888888888 M
Topic author, Duke
Duke
fnafan8888888888 M
Topic author, Duke
Duke
Age: 17
Reputation: 13
Posts: 141
Joined: 30 Jun 2019

Post #3by fnafan8888888888 » 20 Dec 2019, 2:08

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.


Return to “Script requests”