Garry's Mod

Garry's Mod

54 ratings
Expression2 Turret Exstension (E2:shootTo()) [Wiremod needed]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Build, Fun
File Size
Posted
785.000 B
Aug 11, 2013 @ 6:11pm
1 Change Note ( view )

Subscribe to download
Expression2 Turret Exstension (E2:shootTo()) [Wiremod needed]

Description
Turrets shall no longer be needed!!!

This exstention will allow you to shoot bullets from any entity using only Expression2 code! No more need to attach turrets to your contraption, just use E2!

Using this couldn't be simpler just do it all from one line:

entity(can be anything you want):shootTo(Direction, Spread, Force, Damage, Bullets per shot, Tracer index)

Tracerlist:
1: 9mm Tracer
2: AR2Tracer
3: HeliTracer
4: AirboatTracer
5: LaserTracer
6: ToolgunTracer

Bullets per shot is limited to 1-10

Have fun!

26 Comments
Minos Prime Jan 19, 2022 @ 3:19pm 
how to make it so other players can use the function?
Sanders Sep 19, 2018 @ 7:00pm 
hey could you possible make an extention to shoot are alfire shots?
ritardo milos Mar 1, 2018 @ 10:39am 
Nice stuff, but spread is static.
Sanders Dec 20, 2017 @ 1:05am 
could you make an e2 function that allows us to make lasers? or to shoot the ar2 al fire from an e2?
Sanders Jun 27, 2017 @ 4:42pm 
you should add one thing: add a muzzle flash so we can make it look far better (needs to be parentable aswell as being rotated
Sanders Jun 23, 2017 @ 10:17am 
NVM got it done XD
Sanders Jun 23, 2017 @ 9:48am 
yea i tried doing this as you said it was straight forward also keep in mind i have had no sleep for the last 2 days so here is my attempt: entity(E):shootTo(up, 0.05, 500, 99, 60, Tracer) does nothing
Mr Mage Jun 20, 2016 @ 9:49pm 
you get a big fat 11/10, although it took me a bit to find out how to bind the keys, I can finally make an OP armed HOLO helicopter, now I just need to find out how to save it, but that's not your problem the next thing we need for this mod is missiles and rockets!!! :steamhappy:
Dandry Aug 24, 2015 @ 4:28am 
can you gives a example of a code you made with e2 because i have no Fu*king idea how to do this