Garry's Mod

Garry's Mod

Expression2 Turret Exstension (E2:shootTo()) [Wiremod needed]
26 kommentarer
Minos Prime 19. jan. 2022 kl. 15:19 
how to make it so other players can use the function?
Der Eingeweihte 22. aug. 2021 kl. 6:56 
Sanders 19. sep. 2018 kl. 19:00 
hey could you possible make an extention to shoot are alfire shots?
ritardo milos 1. mar. 2018 kl. 10:39 
Nice stuff, but spread is static.
Sanders 20. dec. 2017 kl. 1:05 
could you make an e2 function that allows us to make lasers? or to shoot the ar2 al fire from an e2?
Sanders 27. juni 2017 kl. 16:42 
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 23. juni 2017 kl. 10:17 
NVM got it done XD
Sanders 23. juni 2017 kl. 9:48 
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 20. juni 2016 kl. 21:49 
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 24. aug. 2015 kl. 4:28 
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 30. mar. 2015 kl. 8:17 
How you make it where all players can use it?
propslinger 26. mar. 2015 kl. 15:47 
how do i attach the turret to the e2?
Astatine85 10. mar. 2015 kl. 5:06 
Good job now single E2 for my eye turrets
dgrawns 23. jan. 2015 kl. 13:52 
@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 29. dec. 2014 kl. 18:28 
entity:shootTo(I HAVE NO FUCKIN CLUE HOW TO DO LUA YOU SHITHEADS DONT THROW THIS SHIT AT ME. I WILL FUCK YOU UP. ILL SHOVE MY FIST DOWN YOUR THROAT AND MAKE YOU SHIT BLOOD FOR THE NEXT 15 YEARS! BITCH)
thats my lua code
RDC 4. dec. 2014 kl. 21:00 
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 4. dec. 2014 kl. 20:01 
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 4. dec. 2014 kl. 20:00 
darth, use find() to find people, use findexcludeplayer("PLAYERNAME which can be shortened like Reddeadlycreeper to red")
Sanders 2. apr. 2014 kl. 1:16 
how to change the tracer?
Sanders 5. mar. 2014 kl. 19:52 
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 11. feb. 2014 kl. 2:51 
so i can use like a cylinder from sprops? lol
Moonlight.PWG  [ophavsmand] 12. nov. 2013 kl. 15:05 
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 19. okt. 2013 kl. 18:31 
i cannot figure this shit out!
Blóðhundr 28. sep. 2013 kl. 10:32 
could you make a tutorial for this please xD
러브라이브! 13. aug. 2013 kl. 2:38 
good
Moonlight.PWG  [ophavsmand] 11. aug. 2013 kl. 18:21 
Let me know of any bugs!