Igor Q. 519 Posted December 5, 2018 Hi Im trying to make a "spell" which casts 3 explosions consecutively in a straight line and plan on using a trigger zone where when a unit touches the zone they take damage. However I cannot "move" game logics. Anyone known an alternate solution? Share this post Link to post Share on other sites
Oliver Hope 261 Posted December 6, 2018 I made a custom trigger zones that can be moved but I think they are very recourse intensive on the computer, how are you casting the spells ? Share this post Link to post Share on other sites
Igor Q. 519 Posted December 6, 2018 (edited) Just using a simple drop item listen. Edit: Just did some brainstorming... I'm guessing the only way is to create a "large" zone and add every damn entity to it, and then "IF" distance between each entity and the spell less than "X", they take damage. I agree that it would be very recourse intensive.... Edited December 6, 2018 by Igor Quintero Share this post Link to post Share on other sites
Spyler.X 625 Posted December 6, 2018 I made a similar system for the missile tank with the old logic. I made a zone of activation throughout the area, I'm doing some tests of how it could be done, with a single zone of activation that recognizes the type of object. a small example the logic of the right the important thing is the rotation the rest is merely visual it occurs to me that if, for example, it detects the color, it could apply different spells depending on the color of the object it throws. 1 Share this post Link to post Share on other sites
Igor Q. 519 Posted December 6, 2018 Cool code! Unfortunatly adding the damage clause is the important part Share this post Link to post Share on other sites
Oliver Hope 261 Posted December 6, 2018 You would have to add all the players to an array and all the spells to another array and then check the distance between the spells and players in a time trigger iv done this before so if you want help let me know Share this post Link to post Share on other sites
Igor Q. 519 Posted December 6, 2018 12 minutes ago, Oliver Hope_P1 said: You would have to add all the players to an array and all the spells to another array and then check the distance between the spells and players in a time trigger iv done this before so if you want help let me know I mean yeah, I could do that. But it's only useful in pure pvp games. What if I want it to damage everything such as terrain, mobs, plants, etc? 1 Share this post Link to post Share on other sites
Oliver Hope 261 Posted December 6, 2018 42 minutes ago, Igor Quintero said: I mean yeah, I could do that. But it's only useful in pure pvp games. What if I want it to damage everything such as terrain, mobs, plants, etc? Looks like your going to have to wait for ylands editor to improve Share this post Link to post Share on other sites
Igor Q. 519 Posted December 6, 2018 I've got a somewhat working missile system now. However I can't seem to make the system trigger upon firing which kinda sucks. 1 Share this post Link to post Share on other sites
Spyler.X 625 Posted December 7, 2018 @Igor Quintero That spell is very powerful, , I want to see if someone is able to escape from that. If the same thing happened to me yesterday when I was testing, I did not detect the projectiles either Share this post Link to post Share on other sites
Igor Q. 519 Posted December 7, 2018 @Spyler.X I could turn it into a real heat seeker without the 100% auto target if only the listen event for firing a weapon worked Share this post Link to post Share on other sites
Oliver Hope 261 Posted December 8, 2018 18 hours ago, Igor Q. said: @Spyler.X I could turn it into a real heat seeker without the 100% auto target if only the listen event for firing a weapon worked often when detecting players dropping an item i despawn the item and give them a new one. it makes it nice and clean Share this post Link to post Share on other sites
Igor Q. 519 Posted December 8, 2018 2 hours ago, Oliver Hope_P1 said: often when detecting players dropping an item i despawn the item and give them a new one. it makes it nice and clean You'd kinda want a heat seeking missle to work in 3D... Share this post Link to post Share on other sites