Modme Forums
Menu:

play an eathquake

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: hahaDuNOOB

hello modme users

i search for a script to play a earthqake like a meteor hits the ground (smal earthquake)


ModmeBot:

Reply By: Abnormal202

You can use the Earthquake function, found in the scriptdocs.

void Earthquake(<scale>,<duration>,<radius>,[target])
</radius></duration></scale>



example:

Earthquake( 0.22, 7, player.origin, 150 )



I would also play a sound when it happens, if I were you.


ModmeBot:

Reply By: hahaDuNOOB

Abnormal202

You can use the Earthquake function, found in the scriptdocs.

void Earthquake(,,,[target])



example:

Earthquake( 0.22, 7, player.origin, 150 )



I would also play a sound when it happens, if I were you.

you have skype


ModmeBot:

Reply By: Abnormal202

hahaDuNOOB
Abnormal202

You can use the Earthquake function, found in the scriptdocs.

void Earthquake(,,,[target])



example:

Earthquake( 0.22, 7, player.origin, 150 )



I would also play a sound when it happens, if I were you.

you have skype

Why? its not that hard to implement. I can tell you all the specific steps if you need.


ModmeBot:

Reply By: hahaDuNOOB

Abnormal202
hahaDuNOOB
Abnormal202

You can use the Earthquake function, found in the scriptdocs.

void Earthquake(,,,[target])



example:

Earthquake( 0.22, 7, player.origin, 150 )



I would also play a sound when it happens, if I were you.

you have skype

Why? its not that hard to implement. I can tell you all the specific steps if you need.

if i need help i cann ask you on skype and i need to play it on a struct not on a player my gate go down and than it need to play it and only in this radius and i dont know how to script with structs


ModmeBot:

Reply By: Exofile

hahaDuNOOB

if i need help i cann ask you on skype and i need to play it on a struct not on a player my gate go down and than it need to play it and only in this radius and i dont know how to script with structs

The whole point of this forum is to help people. If you simply need help it's better to get answers HERE. That way- if anyone else needs the same help, they can look at this post and learn from it rather than starting a completely new query for help.


ModmeBot:

Reply By: Lokii

How woulf this be implemented? mapname.gsc?


ModmeBot:

Reply By: Abnormal202

Lokii

How woulf this be implemented? mapname.gsc?

Yes you could put a script in your mapname.gsc. First you would call your new function in the main function with:

thread new_function();



and then put your new function somewhere in that gsc like:

function new_function()
{
    Do stuff Here
}