Entity destroy
#1
How to Remove Entities with a specific ID. I found how to delete all Entities, and how to remove certain entities do not know. How?
Reply
Thanks given by:
#2
what do you mean with certain entities? Kill all spiders, for example?
Reply
Thanks given by:
#3
kill some spiders, such as. To kill a spider with id 25
Reply
Thanks given by:
#4
(07-14-2013, 05:22 AM)fankins Wrote: kill some spiders, such as. To kill a spider with id 25
Every mob has a unique id, there aren't 2 mobs with the same id, I think you only can kill mobs depending on type
Reply
Thanks given by:
#5
Get a cEntity object (via cWorld:DoWithEntity() ), then call its Destroy method.
Reply
Thanks given by: fankins




Users browsing this thread: 3 Guest(s)