Azaren 130 Posted May 15, 2020 (edited) Sorry for my english… Is there any script that can check if trigered entity does still exist? I have script, script "mark" entity with "create particle on entity", and after time, particles will be removed. But when i kill this entity, after time i get (yelow) error, couse entity does not exist and particles from non-existed entity can not be removed. Is there any tip for solution my "script bug"? I need script for check "exist trigered entity" before, but is there any? Edited May 15, 2020 by bures.peter Share this post Link to post Share on other sites
Indomitus 388 Posted May 15, 2020 (edited) There is a tile that is simply "IS Entity" (in the English version) that will give True if the item is an entity and it exists, and will give False if it does not exist or is not an entity. Edited May 15, 2020 by Indomitus 1 Share this post Link to post Share on other sites
Azaren 130 Posted May 15, 2020 (edited) Thanks! I´ll try it! Edited May 15, 2020 by bures.peter Share this post Link to post Share on other sites
Azaren 130 Posted May 16, 2020 No problem. Find https://community.bistudio.com/wiki/Ylands_Tile_-_Is_entity Share this post Link to post Share on other sites
Keranara 3 Posted May 23, 2020 if your question still actual.... hope this can help to you. use label for entity (for example if entity from template use "on entity spawn" -> "add entity label") after this you can calculate count entity with this label. here I check if entity count is lower 1 (I mean 0) then I can add what to do if there no entity with my label hope it will help you. (sorry for my English too) 1 Share this post Link to post Share on other sites
Heidenlarm 2 Posted May 23, 2020 (edited) Variant with IS Entity Edited May 23, 2020 by Heidenlarm Share this post Link to post Share on other sites
Houp 237 Posted June 10, 2020 On 5/23/2020 at 10:44 PM, Heidenlarm said: Variant with IS Entity Using "Is Entity (Rabbit)" after "If" is enough. There is no need to use if ("Is Entity (Rabbit) " = True) Share this post Link to post Share on other sites
Glant1997 0 Posted March 18 (edited) Thank you! share the post. TellTheBell Survey Edited April 3 by Glant1997 Share this post Link to post Share on other sites