Інсталювати Steam
увійти
|
мова
简体中文 (спрощена китайська)
繁體中文 (традиційна китайська)
日本語 (японська)
한국어 (корейська)
ไทย (тайська)
Български (болгарська)
Čeština (чеська)
Dansk (данська)
Deutsch (німецька)
English (англійська)
Español - España (іспанська — Іспанія)
Español - Latinoamérica (іспанська — Латинська Америка)
Ελληνικά (грецька)
Français (французька)
Italiano (італійська)
Bahasa Indonesia (індонезійська)
Magyar (угорська)
Nederlands (нідерландська)
Norsk (норвезька)
Polski (польська)
Português (португальська — Португалія)
Português - Brasil (португальська — Бразилія)
Română (румунська)
Русский (російська)
Suomi (фінська)
Svenska (шведська)
Türkçe (турецька)
Tiếng Việt (в’єтнамська)
Повідомити про проблему з перекладом
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