Garry's Mod

Garry's Mod

Expression2 Turret Exstension (E2:shootTo()) [Wiremod needed]
25 Comments
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
{SD} killer124n Mar 30, 2015 @ 8:17am 
How you make it where all players can use it?
propslinger Mar 26, 2015 @ 3:47pm 
how do i attach the turret to the e2?
Astatine85 Mar 10, 2015 @ 5:06am 
Good job now single E2 for my eye turrets
dgrawns Jan 23, 2015 @ 1:52pm 
@Blank.exe dont confuse e2 with lua, e2 is made from lua, not lua, also look it up instead of raging on comments k?
guatemala warrior Dec 29, 2014 @ 6:28pm 
entity:shootTo(I HAVE NO ♥♥♥♥♥♥ CLUE HOW TO DO LUA YOU ♥♥♥♥♥♥♥♥♥ DONT THROW THIS ♥♥♥♥ AT ME. I WILL ♥♥♥♥ YOU UP. ILL SHOVE MY FIST DOWN YOUR THROAT AND MAKE YOU ♥♥♥♥ BLOOD FOR THE NEXT 15 YEARS! ♥♥♥♥♥)
thats my lua code
RDC Dec 4, 2014 @ 9:00pm 
get this as an error when I try to fire it
sv: Expression 2 (generic): entities/gmod_wire_expression2/core/custom/shootto.lua:17: attempt to index local 'this' (a nil value)

My line of code:

E:shootTo(E:forward(),0,50,150,1,2)
RDC Dec 4, 2014 @ 8:01pm 
find() also should be modified by using findincludeclass("Player") so it targets players, if you findinclude npc's it should also work, I forget how that is typed
RDC Dec 4, 2014 @ 8:00pm 
darth, use find() to find people, use findexcludeplayer("PLAYERNAME which can be shortened like Reddeadlycreeper to red")
Sanders Apr 2, 2014 @ 1:16am 
how to change the tracer?
Sanders Mar 5, 2014 @ 7:52pm 
ok so i have an e2 that i want to only track npc/otherplayers(excludeing owner) how would i go on about doing so?
Sanders Feb 11, 2014 @ 2:51am 
so i can use like a cylinder from sprops? lol
Moonlight.PWG  [author] Nov 12, 2013 @ 3:05pm 
entity:shootTo(Direction, Spread, Force, Damage, Bullets per shot, Tracer index)

It's pretty straight forward guys, all the values are numbers, the entity that is shooting can be any prop you want on the map (that you own)
Sanders Oct 19, 2013 @ 6:31pm 
i cannot figure this ♥♥♥♥ out!
Blóðhundr Sep 28, 2013 @ 10:32am 
could you make a tutorial for this please xD
러브라이브! Aug 13, 2013 @ 2:38am 
good
Moonlight.PWG  [author] Aug 11, 2013 @ 6:21pm 
Let me know of any bugs!