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, Count
Count
fnafan8888888888 M
Topic author, Count
Count
Age: 18
Reputation: 25
Posts: 215
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 M
Marquis
Marquis
Avatar
Victor ManuelMR M
Marquis
Marquis
Age: 18
Reputation: 56
Posts: 157
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
Image
[1.4.5] - Dream Team at The Challenging Portals:
Image

fnafan8888888888 M
Topic author, Count
Count
fnafan8888888888 M
Topic author, Count
Count
Age: 18
Reputation: 25
Posts: 215
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”

Who is online (over the past 5 minutes)

Users browsing this forum: 2 guests