Author Topic: Rapid Fire Grenades  (Read 2235 times)

So i was on a server the other day and people were doing this thing that when they click they shoot grenades rapid fire. It was weird..... It was like a grenade machinegun but they had nothing equipped. Can any1 tell me if this is a glitch or an event, and how to do it.
Have a cookie :cookie:

were they standing on a brick?


Here's how:

Go to events and put this:

Onactivate > Self > Firerelay
Onrelay > Self > Firerelay
Onrelay > VCEIf_Value > <var:pl:firing> > 1
Onvariabletrue > Player > Spawnprojectile > Grenade


Hope this helped.
P.S. : Change the projectile to shoot anything you want.

Can be done in mission editor too I think.

If they're admin (I think its host though) they can do it thru console commands too.

Here's how:

Go to events and put this:

Onactivate > Self > Firerelay
Onrelay > Self > Firerelay
Onrelay > VCEIf_Value > <var:pl:firing> > 1
Onvariabletrue > Player > Spawnprojectile > Grenade


Hope this helped.
P.S. : Change the projectile to shoot anything you want.
Exactly what I was thinking.

OnPlayerTouch>Player>SpawnProjectile>grenade

isnt this simpler?

OnPlayerTouch>Player>SpawnProjectile>grenade

isnt this simpler?

Well no, because it will spawn grenades at all times, probably killing you as you jump onto the block. The VCE version only works whilst you are firing a grenade

The onPlayerTouch one would only work while you are on the brick (so you can't cheat in minigames), while the variables one lets you fire them from anywhere...

The onPlayerTouch one would only work while you are on the brick (so you can't cheat in minigames), while the variables one lets you fire them from anywhere...
Yes because cheating in minigames are fun.


Here's how:

Go to events and put this:

Onactivate > Self > Firerelay
Onrelay > Self > Firerelay
Onrelay > VCEIf_Value > <var:pl:firing> > 1
Onvariabletrue > Player > Spawnprojectile > Grenade


Hope this helped.
P.S. : Change the projectile to shoot anything you want.
Ok....
So i downloaded VCE and all.... but i cant find "VCEif_Value"
Am i doing something wrong?

Ok....
So i downloaded VCE and all.... but i cant find "VCEif_Value"
Am i doing something wrong?
Lol wrong VCE

Ok.... I got it to work but i have 1 more question.
On the spawn projectile how do you make it shoot where you are aiming?