LuaSurface::create_entity projectile missing default value for max_range

User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sat Mar 05, 2022 11:30 am
Contact:

LuaSurface::create_entity projectile missing default value for max_range

Post by _CodeGreen »

I was having an issue with projectiles triggering before reaching their target, and I suspected it had something to do with their max range.
After a while, I found out the default max range of projectiles is 1000, which isn't listed in the docs.
Should be an easy fix, thank you in advance!
My Mods | If you can't make it perfect, make it adjustable
curiosity
Filter Inserter
Filter Inserter
Posts: 484
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: LuaSurface::create_entity projectile missing default value for max_range

Post by curiosity »

I think, that's also the maximum possible range.
Bilka
Factorio Staff
Factorio Staff
Posts: 3310
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: LuaSurface::create_entity projectile missing default value for max_range

Post by Bilka »

Thanks for the note, default value documented in 1.1.110.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”