Garry's Mod

Garry's Mod

Expression2 Turret Exstension (E2:shootTo()) [Wiremod needed]
26 則留言
Minos Prime 2022 年 1 月 19 日 下午 3:19 
how to make it so other players can use the function?
Der Eingeweihte 2021 年 8 月 22 日 上午 6:56 
Sanders 2018 年 9 月 19 日 下午 7:00 
hey could you possible make an extention to shoot are alfire shots?
ritardo milos 2018 年 3 月 1 日 上午 10:39 
Nice stuff, but spread is static.
Sanders 2017 年 12 月 20 日 上午 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 2017 年 6 月 27 日 下午 4: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 2017 年 6 月 23 日 上午 10:17 
NVM got it done XD
Sanders 2017 年 6 月 23 日 上午 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 2016 年 6 月 20 日 下午 9: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 2015 年 8 月 24 日 上午 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 2015 年 3 月 30 日 上午 8:17 
How you make it where all players can use it?
propslinger 2015 年 3 月 26 日 下午 3:47 
how do i attach the turret to the e2?
Astatine85 2015 年 3 月 10 日 上午 5:06 
Good job now single E2 for my eye turrets
dgrawns 2015 年 1 月 23 日 下午 1: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 2014 年 12 月 29 日 下午 6: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 2014 年 12 月 4 日 下午 9: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 2014 年 12 月 4 日 下午 8: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 2014 年 12 月 4 日 下午 8:00 
darth, use find() to find people, use findexcludeplayer("PLAYERNAME which can be shortened like Reddeadlycreeper to red")
Sanders 2014 年 4 月 2 日 上午 1:16 
how to change the tracer?
Sanders 2014 年 3 月 5 日 下午 7: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 2014 年 2 月 11 日 上午 2:51 
so i can use like a cylinder from sprops? lol
Moonlight.PWG  [作者] 2013 年 11 月 12 日 下午 3: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 2013 年 10 月 19 日 下午 6:31 
i cannot figure this shit out!
Blóðhundr 2013 年 9 月 28 日 上午 10:32 
could you make a tutorial for this please xD
러브라이브! 2013 年 8 月 13 日 上午 2:38 
good
Moonlight.PWG  [作者] 2013 年 8 月 11 日 下午 6:21 
Let me know of any bugs!