Started by
azerwite
on
Topic category: Feature requests and ideas for MCreator
ok so im tring to make a kind of visible fire slash attack for bladded weaponthat work with particles and do zone damage , if somebody could help me that will be cool thanx :)
Particles are sort of up to you, you could mess around spawning individual particles at the correct positions and timings to make a specific attack pattern... but it might be more effort than it's worth.
As for zone damage, you can just use an entity iterator bracket to target all entities within a desired radius. (Instead of dealing damage to a single entity, damage the entity iterator instead- anything inside the bracket is run for all entities in the desired radius.) You'll also want to make sure the entity iterator doesn't equal the event/target entity. (Otherwise it'll also target the player.)
yeah but the thing is that it need to only hurt monster entities (cuz its for a kind of guard mob and i don't want it to attack his friends)
With the entity iteratir you can also include an ‘if’ bracket that checks if the entity iterator, (the thing currently being targeted), is a subtype of ‘monster entity.’ (Check the bottom of the logic tab.) you could also create a custom entity tag that includes everything you want to be targeted, then just check if the entity iterator has that tag.
it works ! thanks a lot :)