Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta
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