• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Making Spells bounce off of eachother and objects

Status
Not open for further replies.
Level 3
Joined
Oct 14, 2007
Messages
37
The title should be self explanatory, I want a some sort of help with making a system where if a spell comes in contact with another spell, they bounce and fly off in opposite directions, or if a spell hits a wall it bounces off. I have seen this before so i know its possible, any help?

Note: As i have 0 experience with Jazz, try to make it user-friendly if its jazz, otherwise GUI is preferable although I am sure its impossible in GUI

Please help, this would add a great deal of fun to my map, especially if I can detect spell collissions
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Death[CrAb];708081 said:
The title should be self explanatory, I want a some sort of help with making a system where if a spell comes in contact with another spell, they bounce and fly off in opposite directions, or if a spell hits a wall it bounces off. I have seen this before so i know its possible, any help?

Note: As i have 0 experience with Jazz, try to make it user-friendly if its jazz, otherwise GUI is preferable although I am sure its impossible in GUI

Please help, this would add a great deal of fun to my map, especially if I can detect spell collissions

First off - it's Jass (jazz is a type of music), lol.

Anyway, for bounces and collisions you must make your spells 100% triggered.
Also, all in all it is quite dependent on your spells. Can't really make a "global" function for bounces, so you might want to explain exactly what it is for.

The trickiest is to bounce off walls if you ask me, since you can't check for collisions in warcraft. You either have to use a lot of regions or use a tricky thing that Vexorian created.
(The Pathable check is quite inaccurate (by inaccurate I mean that it has a much larger distance for collision then you will want) and it also checks for many other things then cliffs).
 
Level 3
Joined
Oct 14, 2007
Messages
37
Well im making a Harry Potter Wizard Wars of my own here, except the spells wont be where you click on the unit and the spell will follow, no, you have to aim well. and if it hits anything that is not alive it will bounce right off

And can you give me a starting point at least as to how I could possibly trigger these spells, the only thing ive ever done with triggering spells is make them do 4x Int damage sort of thing

Also tell me about the vestorians thing, or whatever it was cuz I defenately do not want to use regions, overall that would be over 600483572 regions
 
Level 22
Joined
Dec 31, 2006
Messages
2,216
It is possible to make this in GUI. I have made it before, but it didn't have spherical bouncing. You can make it by messing with X and Y coordinates. That was what I did.
 
Status
Not open for further replies.
Top