Page 1 of 1

surface.create_entity{name = "grenade",... doesn't work?

Posted: Sun Nov 29, 2020 7:39 am
by yagaodirac
When I throw a grenade, the surface.find_entities returns me a table with some entity named grenade. When I tried to create it from code, even if I specified the target, it still refused to work. The error info pointed out that a speed field is not specified, but I found no clue about it.
Any idea? How can I create a grenade entity?