Steam installeren
inloggen
|
taal
简体中文 (Chinees, vereenvoudigd)
繁體中文 (Chinees, traditioneel)
日本語 (Japans)
한국어 (Koreaans)
ไทย (Thai)
Български (Bulgaars)
Čeština (Tsjechisch)
Dansk (Deens)
Deutsch (Duits)
English (Engels)
Español-España (Spaans - Spanje)
Español - Latinoamérica (Spaans - Latijns-Amerika)
Ελληνικά (Grieks)
Français (Frans)
Italiano (Italiaans)
Bahasa Indonesia (Indonesisch)
Magyar (Hongaars)
Norsk (Noors)
Polski (Pools)
Português (Portugees - Portugal)
Português - Brasil (Braziliaans-Portugees)
Română (Roemeens)
Русский (Russisch)
Suomi (Fins)
Svenska (Zweeds)
Türkçe (Turks)
Tiếng Việt (Vietnamees)
Українська (Oekraïens)
Een vertaalprobleem melden
entities/gmod_wire_expression2/core/custom/antcore.lua:746: attempt to perform arithmetic on field 'x' (a nil value)
as far as i can tell it's doing this only if it finds an entity, regardless of what i tell it to do with said entity or what i put in the pos/direction fields
if you can anyways thank you.
You could try holoEntity(400):toWorld(vec(-20,0,0)) instead of holoEntity(400):pos()
I either added setVelocity before propSetVelocity existed, or it wasn't in the e2 propcore version I was using at the time and yeah reverse compatibility and laziness
tldr: not possible to make it faster without it changing direction, oof bruh moment
Dist = (Find:pos()-holoEntity(1):pos()):length()*2 works well but putting the number above say 4 causes the bolts to fly out sideways how can i up the speed without this issue?
sv: Expression 2 (generic): entities/gmod_wire_expression2/core/custom/prop.lua:36: bad argument #1 to 'IsValidProp' (string expected, got nil)
Code 2 reproduce:
@name funny bolt
shootBolt( entity():pos() + entity():forward()*100, entity():forward()*500, inf() )
# point chip at nearest npc
# make sure bolt hits npc
# wait like 5 sec
# BAM