- Joined
- Oct 10, 2017
- Messages
- 32
I'll be honest, I'm not a genius when it comes to math. Currently I'm really struggling with angles and such in vJass. I don't know how to calculate the locations for my spell. For example, I want to make a fireball, that spawns at the casters position and moves to the target location and deals dmg on its way and at the end.
How would I actually start doing this? I've tried looking at other peoples code, even tho it is very difficult, to understand what other people write at my current level. Specially when they don't format properly.
The tutorials here and elsewhere only cover basic stuff and when I ask in Discord, they tell me its basic math x) which I don't understand to begin with. It would be nice if there was some kind of guide (or a person) that could help me understand that better. I will most likely need that kind of stuff for many different things in my map.
Specially the different math functions that are relevant to calculate the different locations
i.e
bj_DETOGRAD
bj_RADTODEG
and just in general when do you use these, why do you use these and what I asked for above. I hope someone can help me with this.
In the picture you will see a piece of code from someone else, to perhaps better understand what I'm talking about.
How would I actually start doing this? I've tried looking at other peoples code, even tho it is very difficult, to understand what other people write at my current level. Specially when they don't format properly.
The tutorials here and elsewhere only cover basic stuff and when I ask in Discord, they tell me its basic math x) which I don't understand to begin with. It would be nice if there was some kind of guide (or a person) that could help me understand that better. I will most likely need that kind of stuff for many different things in my map.
Specially the different math functions that are relevant to calculate the different locations
i.e
bj_DETOGRAD
bj_RADTODEG
and just in general when do you use these, why do you use these and what I asked for above. I hope someone can help me with this.
In the picture you will see a piece of code from someone else, to perhaps better understand what I'm talking about.