Page 1 of 1

"item-entity" don't work with projectiles

Posted: Tue Jan 24, 2023 5:04 pm
by DemerNkardaz
Having some idea to make throwable firt aid kit I was going to make it item, capsule item, projectile and item-entity spawnable from projectile, after that any player can to take it from ground like generic dropped by "Z" first aid kit item. The point is to give the player ability to drop first aid kit on distance to other player, like more "realistic" than heal grenades.
But:
Error while running setup for entity prototype "PLORD_firstaid_kit_projectile" (projectile): Entity ("PLORD_firstaid_kit_e_onground") of type "item-entity" can't be created by "create-entity" trigger effect.

Re: "item-entity" don't work with projectiles

Posted: Tue Jan 24, 2023 5:48 pm
by Klonan
You can use a script trigger and create the item-entity yourself

Re: "item-entity" don't work with projectiles

Posted: Tue Jan 24, 2023 6:14 pm
by DemerNkardaz
Klonan wrote:
Tue Jan 24, 2023 5:48 pm
You can use a script trigger and create the item-entity yourself
Thanks, will try it